[Bug 1242746] [NEW] SIGSEGV when file2str reads zero bytes

Launchpad Bug Tracker 1242746 at bugs.launchpad.net
Mon Oct 28 16:20:41 UTC 2013


You have been subscribed to a public bug by Ubuntu Foundations Team Bug Bot (crichton):

The changes made in the following commit, which backported a number of
changes to the procps package in precise, result in various procps
utilities crashing with a SIGSEGV if the file2str function in
proc/readproc.c reads zero bytes.

http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/procps
/precise-updates/revision/61

This corresponds to the following procps package version:
1:3.2.8-11ubuntu6.1

Prior to this changeset, file2str would return -1 if the read failed;
now it does not, which is not expected by other parts of the procps
codebase, hence the crash.

Upstream have fixed this issue in the following commit:

https://www.gitorious.org/procps/procps/commit/526bc5dfa924177e68be0123bd67e3370955f924

** Affects: procps (Ubuntu)
     Importance: Medium
     Assignee: Dave Chiluk (chiluk)
         Status: In Progress

** Affects: procps (Ubuntu Precise)
     Importance: Undecided
     Assignee: Dave Chiluk (chiluk)
         Status: In Progress

** Affects: procps (Ubuntu Quantal)
     Importance: Undecided
     Assignee: Dave Chiluk (chiluk)
         Status: In Progress

** Affects: procps (Ubuntu Raring)
     Importance: Undecided
     Assignee: Dave Chiluk (chiluk)
         Status: In Progress


** Tags: patch regression-update
-- 
SIGSEGV when file2str reads zero bytes
https://bugs.launchpad.net/bugs/1242746
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list