kernel oops suffers from memory leak and unchecked heap allocations
Bug #1287109 reported by
Colin Ian King
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 |
To post a comment you must log in.
This bug was fixed in the package kerneloops - 0.12+git2009021 7-3ubuntu5
--------------- 17-3ubuntu5) trusty; urgency=medium
kerneloops (0.12+git200902
[ 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