Search found 1 match

by warhammerkid
2013-04-04T20:46:36-07:00
Forum: Bugs
Topic: SegFault in url.c when creating a temp file fails
Replies: 5
Views: 6572

SegFault in url.c when creating a temp file fails

In the below code, image is initialized to NULL. If AcquireUniqueFileResource or fdopen fails, the code tries to copy the filename to image->filename, which causes a SegFault because the destination is invalid. I ran into this because the system tmp directory was not writable by the user I was ...