|
From: | William Bader |
Subject: | [bug-gv] [bug #38727] fix gv-3.7.4 core dump on bad resource files [patch] |
Date: | Fri, 12 Apr 2013 23:23:49 +0000 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.31 (KHTML, like Gecko) Chrome/26.0.1410.63 Safari/537.31 |
URL: <http://savannah.gnu.org/bugs/?38727> Summary: fix gv-3.7.4 core dump on bad resource files [patch] Project: GNU gv Submitted by: william8000 Submitted on: Fri 12 Apr 2013 11:23:47 PM GMT Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any Release: None _______________________________________________________ Details: When gv starts, it has a few places in main.c that get a resource string and then test the string using strcasecmp() without checking if it is NULL. This causes gv to core dump at start-up on some systems. The attached patch sets a default value if the resource is NULL. William _______________________________________________________ File Attachments: ------------------------------------------------------- Date: Fri 12 Apr 2013 11:23:47 PM GMT Name: gv-main.pat Size: 1kB By: william8000 <http://savannah.gnu.org/bugs/download.php?file_id=27856> _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?38727> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |