← Back to team overview

kernel-packages team mailing list archive

[Bug 1287109] [NEW] kernel oops suffers from memory leak and unchecked heap allocations

 

Public bug reported:

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

** Affects: kerneloops (Ubuntu)
     Importance: Medium
     Assignee: Colin King (colin-king)
         Status: In Progress

** Changed in: kerneloops (Ubuntu)
       Status: New => In Progress

** Changed in: kerneloops (Ubuntu)
     Assignee: (unassigned) => Colin King (colin-king)

** Changed in: kerneloops (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to kerneloops in Ubuntu.
https://bugs.launchpad.net/bugs/1287109

Title:
  kernel oops suffers from memory leak and unchecked heap allocations

Status in “kerneloops” package in Ubuntu:
  In Progress

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/kerneloops/+bug/1287109/+subscriptions


Follow ups

References