diff options
author | Daniel Friesel <derf@finalrewind.org> | 2011-05-11 01:52:34 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2011-05-11 01:52:34 +0200 |
commit | eb6566cf9d1887cc5f18df58be6651579404fed4 (patch) | |
tree | 06f676ab64b82ac65c7ad279060ffa3c4ecdfde3 /src/utils.h | |
parent | 3be31437fe3493fe013659290744f590d1e23f9c (diff) |
feh_parse_options_from_string: allocate argv list on stack
This fixes a really weird bug where continued theme definitions containing
just one option/value pair caused feh to mis-parse parts of the following
line.
Apparently, subsequent realloc calls mixed with strdups in another function
caused parts of the list (argv) content to be overwritten by the content of
the list pointer itself. I wasn't able to find out the exact causes /
conditions.
Diffstat (limited to 'src/utils.h')
0 files changed, 0 insertions, 0 deletions