Skip to contentSkip to conversation

ptest-runner: fix segfault with -t option

PATCH New Yi Zhao 1 participant 1 message Sep 21, 2017

lore
Share & tools
lore

Yi Zhao

author
#0 lore raw

PATCH 1/1 ptest-runner: fix segfault with -t option

The ptest-runner would segfault with -t option:

root@qemux86-64:~# ptest-runner -d /usr/lib test_pkg -t 5
[  237.234112] ptest-runner[810]: segfault at 0 ip 000000382e638060 sp
00007fff9130f400 error 4 in libc-2.26.so[382e600000+1a7000]

It is safe to bump SRCREV to latest upstream commit to fix this issue because there is only one commit since the last update:

commit 8a93832dad621535e90aa8e1fb74ae5ba743fc3e
Author: Anders Wallin <[email protected]>
Date: Sun May 28 11:47:00 2017 +0200

timeout option missing the argument option ":" to getopt

ptest-runner -t xx gives segfault

---
 meta/recipes-support/ptest-runner/ptest-runner_2.1.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-support/ptest-runner/ptest-runner_2.1.bb +1 -1
index 89d709a..71c1dab 100644
@@ -7,7 +7,7 @@ HOMEPAGE = "http://git.yoctoproject.org/cgit/cgit.cgi/ptest-runner2/about/"
 LICENSE = "GPLv2"
 LIC_FILES_CHKSUM = "file://LICENSE;md5=751419260aa954499f7abaabaa882bbe"
 
-SRCREV = "78afe246fb8cb864656c16dd5d1cfa5721ccc8b7"
+SRCREV = "8a93832dad621535e90aa8e1fb74ae5ba743fc3e"
 PV = "2.1+git${SRCPV}"
 
 SRC_URI = "git://git.yoctoproject.org/ptest-runner2"
Signature · 1 line
2.7.4