Re: [systemd-devel] [PATCH] bootchart: oom-check correct variable

2014-09-16 Thread Tom Gundersen
Applied. Thanks! Tom On Tue, Sep 16, 2014 at 7:40 PM, Andreas Henriksson wrote: > Coverity warned that we have already dereferenced ps->sample before > null-checking it. I suspect that's not really the issue and that > the check is checking the wrong variable. > Likely the oom-check should be o

[systemd-devel] [PATCH] bootchart: oom-check correct variable

2014-09-16 Thread Andreas Henriksson
Coverity warned that we have already dereferenced ps->sample before null-checking it. I suspect that's not really the issue and that the check is checking the wrong variable. Likely the oom-check should be on the just allocated ps->sample->next. Found by coverity. Fixes: CID#1237765 --- src/bootc