kernel oops suffers from memory leak and unchecked heap allocations

Bug #1287109 reported by Colin Ian King
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kerneloops (Ubuntu)
Fix Released
Medium
Colin Ian King

Bug Description

I run cppcheck on kerneloops and found a few issues:

* A memory leak in writefunction()
* Various unchecked heap allocations - allocs that fail return null causing null pointer dereferencing and hence segfaults

Changed in kerneloops (Ubuntu):
status: New → In Progress
assignee: nobody → Colin King (colin-king)
importance: Undecided → Medium
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kerneloops - 0.12+git20090217-3ubuntu5

---------------
kerneloops (0.12+git20090217-3ubuntu5) trusty; urgency=medium

  [ Colin King ]
  * fix memleak and add alloc null pointer checks (LP: #1287109)
    - memleak of buffer c in writefunction()
    - null pointer checks in extract_oops() and scan_dmesg() (LP: #1026251)

  [ Brian Murray ]
  * fix null pointer check in fill_lineinfo() (LP: #1026300)
 -- Brian Murray <email address hidden> Wed, 05 Mar 2014 08:58:57 -0800

Changed in kerneloops (Ubuntu):
status: In Progress → Fix Released
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.