bugmake - Bugs: bug #49117, [read.c:710]: (warning) Possible...

 
 

bug #49117: [read.c:710]: (warning) Possible null pointer dereference: collapsed

Submitted by:  Jaak Ristioja <jotik>
Submitted on:  Sat 17 Sep 2016 04:57:48 PM UTC  
 
Severity: 3 - NormalItem Group: Bug
Status: Not A BugPrivacy: Public
Assigned to: NoneOpen/Closed: Closed
Component Version: SCMOperating System: None
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Mon 26 Sep 2016 12:08:14 AM UTC, comment #1:

This isn't a bug: the collapsed and collapsed_length values are correlated so we can never get here with collapsed == NULL.

Paul D. Smith <psmith>
Project Administrator
Sat 17 Sep 2016 04:57:48 PM UTC, original submission:

On line:

strcpy (collapsed, line);

Found by cppcheck. Haven't checked if false positive.

Jaak Ristioja <jotik>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by psmith (Posted a comment)
  • -unavailable- added by jotik (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
    Mon 26 Sep 2016 12:08:14 AM UTCpsmithStatusNone=>Not A Bug
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1