From: Andrew P. <76...@bu...> - 2011-04-23 03:40:47
|
Public bug reported: If you click File->Export->PNG, pcb segfaults immediately and crashes. The reason for this is that when populating the list of file extensions (PNG, JPEG, GIF), the code expects a NULL-terminated list of extensions. Instead, the list is terminated by "". I have attached a fix that looks for NULL-termination and ""-termination. ** Affects: pcb Importance: Undecided Status: New -- You received this bug notification because you are a member of PCB Bug Team, which is subscribed to pcb. https://bugs.launchpad.net/bugs/769336 Title: Segfault when attempting PNG export Status in PCB: Printed Circuit Board CAD package: New Bug description: If you click File->Export->PNG, pcb segfaults immediately and crashes. The reason for this is that when populating the list of file extensions (PNG, JPEG, GIF), the code expects a NULL-terminated list of extensions. Instead, the list is terminated by "". I have attached a fix that looks for NULL-termination and ""-termination. |