bugGNU gv - Bugs: bug #38727, fix gv-3.7.4 core dump on bad...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #38727: fix gv-3.7.4 core dump on bad resource files [patch]

Submitter:  William Bader <william8000>
Submitted:  Fri 12 Apr 2013 11:23:47 PM UTC
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  None

Sun 04 Aug 2013 02:05:34 PM UTC, comment #1: 

The patch you submitted has been applied into the CVS and thus
this bug is fixed.

Many thanks for your contribution.

Markus Steinborn <msteinbo>
Project Administrator
Fri 12 Apr 2013 11:23:47 PM UTC, original submission:  

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

William Bader <william8000>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #27856:  gv-main.pat added by william8000 (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by msteinbo (Posted a comment)
  • -email is unavailable- added by william8000 (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

     

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2013-08-04 msteinbo Open/ClosedOpen Closed
    2013-04-12 william8000 Attached File- Added gv-main.pat, #27856

    Back to the top


    Powered by Savane 3.9