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 authentification level.

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

Submitted by:  William Bader <william8000>
Submitted on:  Fri 12 Apr 2013 11:23:47 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 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>

 

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

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 04 Aug 2013 02:05:34 PM UTCmsteinboOpen/ClosedOpen=>Closed
    Fri 12 Apr 2013 11:23:47 PM UTCwilliam8000Attached File-=>Added gv-main.pat, #27856

    Back to the top


    Powered by Savane 3.1-cleanup