Red Hat Bugzilla – Bug 1066168
[abrt] dialog: unescape_argv(): dialog killed by SIGSEGV
Last modified: 2014-02-20 18:09:54 EST
Description of problem:
submitted malformed dialog commandline. Resolved before ABRT presented notification so I dont have the submitted arg file.
Version-Release number of selected component:
cmdline: dialog --title 'Only 1 candidate device found' --file /tmp/rpi2 --yesno 15 50 --defaultno
Thread no. 1 (1 frames)
#0 unescape_argv at dialog.c:369
Created attachment 864303 [details]
Created attachment 864304 [details]
Created attachment 864305 [details]
Created attachment 864306 [details]
Created attachment 864307 [details]
Created attachment 864308 [details]
Created attachment 864309 [details]
Created attachment 864310 [details]
Created attachment 864311 [details]
Created attachment 864312 [details]
Created attachment 864313 [details]
I can reproduce it with
dialog --file <(echo aaa) --yesno 15 50
The latest upstream dialog (20140112) seems to crash too. CCing upstream maintainer.
I see - basically the problem is that the cases I tested all
had more than one token (so the adjustment-loop is wrong).
I've uploaded a fixed version.
no problem (report bugs)