'pcb -h' segfaults if build with --disable-gif
Bug #699320 reported by
y32kn
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pcb |
Fix Released
|
Medium
|
Unassigned |
Bug Description
If pcb gets built wirh png support but with --disable-gif, --disable-jped odr --disable-png than the program segfaults in get_file_suffix from png.c.
Reason seems to be that the 'default_val' of the HA_filetype struct member points every time to element 2 but the there are less than three struct members in 'filetypes[]' structure.
Changed in pcb: | |
milestone: | future-bug-release → next-bug-release |
To post a comment you must log in.
Fixed by commit 480e81559af88da cbfb6bd94cd5fb7 05ec4f7cb4. please check and close the report.