GNOME Bugzilla – Bug 676406
segfault if --forms --add-list used without --list-values
Last modified: 2012-05-23 21:49:55 UTC
Both with zenity-3.4.0 and the latest git HEAD: $ zenity --forms --add-list=foo --list-values="hello|world" Segmentation fault (core dumped) In other words, if the user forgot to specify a column name list, zenity attempts to create a zero-column list with elements, and naturally crashes. IMHO the behavior should be less user-hostile by default; in other words, if no column names are specified, zenity could just add a default column.
Created attachment 214474 [details] [review] proposed patch
Applied on master. Thanks for the patch!