[systemd-bugs] [Bug 70370] New: [PATCH] Fix for SIGSEGV in systemd-bootchart on short-living processes
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Fri Oct 11 11:55:35 CEST 2013
https://bugs.freedesktop.org/show_bug.cgi?id=70370
Priority: medium
Bug ID: 70370
Assignee: systemd-bugs at lists.freedesktop.org
Summary: [PATCH] Fix for SIGSEGV in systemd-bootchart on
short-living processes
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: i.zhbanov at samsung.com
Hardware: Other
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 87447
--> https://bugs.freedesktop.org/attachment.cgi?id=87447&action=edit
[PATCH] Fix for SIGSEGV in systemd-bootchart on short-living processes
The function svg_ps_bars() dereferencess NULL pointer in the line
endtime = ps->last->sampledata->sampletime;
because of partially initialized ps_struct (ps->last == NULL).
If some process terminates between scaning /proc directory in the log_sample()
function and reading additional information from /proc/PID/... files,
the files couldn't be read, the loop will be continued and partially
initialized structure returned.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20131011/fed69d2f/attachment.html>
More information about the systemd-bugs
mailing list