pcb

'pcb -h' segfaults if build with --disable-gif

Bug #699320 reported by y32kn
6
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.

Tags: core sf-bugs
Revision history for this message
y32kn (y32kn) wrote :
Revision history for this message
Ineiev (ineiev) wrote :

Fixed by commit 480e81559af88dacbfb6bd94cd5fb705ec4f7cb4. please check and close the report.

Revision history for this message
Felix Ruoff (felixruoff) wrote :

works for me

Changed in pcb:
status: New → Fix Committed
Revision history for this message
Peter Clifton (pcjc2) wrote :

The commit fixing this bug was part of the pcb-20100929-RELEASE

Changed in pcb:
status: Fix Committed → Fix Released
Peter Clifton (pcjc2)
Changed in pcb:
milestone: future-bug-release → next-bug-release
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.