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

 
 

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

Submitter:  Jaak Ristioja <jotik>
Submitted:  Sat 17 Sep 2016 04:57:48 PM UTC
   
 
Severity:  3 - Normal Item Group:  Bug
Status:  Not A Bug Privacy:  Public
Assigned to:  None Open/Closed:  Closed
Component Version:  4.3 Operating System:  None
Fixed Release:  None Triage Status:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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>
Group 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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by psmith (Posted a comment)
  • -email is unavailable- added by jotik (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.

    Only logged-in users can vote.

     

    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-09-26 psmith StatusNone Not A Bug
        Open/ClosedOpen Closed

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code