diff options
author | Igor Zhbanov <i.zhbanov@samsung.com> | 2013-10-15 12:35:13 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2013-10-15 15:40:34 +0200 |
commit | 306e6650221d88b29831bcdcef94447afb65df5c (patch) | |
tree | 8246089ac0060fe046c1914e938754a1d9612172 /man/kernel-command-line.xml | |
parent | man: wording and grammar updates (diff) | |
download | systemd-306e6650221d88b29831bcdcef94447afb65df5c.tar.xz systemd-306e6650221d88b29831bcdcef94447afb65df5c.zip |
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.
Diffstat (limited to 'man/kernel-command-line.xml')
0 files changed, 0 insertions, 0 deletions