GNOME Bugzilla – Bug 735657
parse_name_field(): SIGSEGV, dereference NULL pointer in name_field
Last modified: 2014-09-01 18:11:38 UTC
got some crashes when tried to open rar archive from dead floppy disk.
+ Trace 234020
Thread 4 (Thread 0x7f2813fff700 (LWP 5698))
Thread 1 (Thread 0x7f2824c94980 (LWP 5693))
Created attachment 284796 [details] [review] fr-command-rar: check for NULL in name_field When I tried to open rar archive from floppy disk (floppy corrupted), I got crash. 149 if (*name_field == '/') { (gdb) p name_field $3 = 0x0 Sure, it can't be dereferenced. Reference: https://bugzilla.redhat.com/show_bug.cgi?id=1135409 Reference: https://bugzilla.gnome.org/show_bug.cgi?id=735657 Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Patch pushed to master and gnome-3-12, thank you.