Clang's static analyser detects 7 null pointer dereference occurrences in simple-scan

Bug #1212452 reported by Anthony Harrington
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
simple-scan (Ubuntu)
Opinion
Undecided
Unassigned

Bug Description

Clang detects 7 null pointer dereferences within the code (a few hundred dead initialisations/assignments as well, but these are most important and i'll try not to bloat this bug report.)

Sorry i couldn't be of any help solving these though, i hope these reports are useful and the problems easy to fix.

Revision history for this message
Anthony Harrington (linuxchemist) wrote :

and this is the complete report, for posterity (and may be the cause of future bug reports!)

information type: Private Security → Public Security
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Since all these were in C code generated by valac, it might be better to report these bugs to the valac project. They'll be in a better position to decide a course of action.

Thanks

Revision history for this message
Anthony Harrington (linuxchemist) wrote :

Having some trouble tar'ing these for some reason :S should be fine now?

summary: - 7 null pointer dereference occurrences
+ Clang's static analyser detects 7 null pointer dereference occurrences
+ in simple-scan
Revision history for this message
Robert Ancell (robert-ancell) wrote :

With a quick look they do seem to be false-positives or due to the way valac has generated the code. I can't see any particular case which can be fixed in the simple-scan source (second opinions welcome).

information type: Public Security → Public
Michael Nagel (nailor)
Changed in simple-scan (Ubuntu):
status: New → Opinion
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.