Systemd/src/bootchart
Igor Zhbanov 306e665022 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.
2013-10-15 09:40:34 -04:00
..
bootchart.c list: make our list macros a bit easier to use by not requring type spec on each invocation 2013-10-14 06:11:19 +02:00
bootchart.conf bootchart: use conf-parser & CamelCase names in .conf 2013-02-14 21:36:45 +01:00
bootchart.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00
Makefile build-sys: add makefile to bootchart 2013-01-21 01:04:16 +01:00
store.c Fix for SIGSEGV in systemd-bootchart on short-living processes 2013-10-15 09:40:34 -04:00
store.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00
svg.c list: make our list macros a bit easier to use by not requring type spec on each invocation 2013-10-14 06:11:19 +02:00
svg.h bootchart: fix typos in copyright notices 2013-06-12 01:40:02 -04:00