Re: [LTP] Coverity report for ltp-20130109

chrubis
2013-03-19T17:43:12Z

Hi!
> I ran it for current LTP stable (20130109) (on top of RHEL6.4)
> and I'm sharing results here:
> http://jan.stancek.eu/coverity/ltp-20130109-1.el6.err.xz

I've looked at the results briefly and allready found and fixed one
(quite stupid) bug in doio.c.

But there seems to be quite a number of false possitives because LTP
does things that are usually wrong intentionally (i.e. NULL
dereference). We could probably mask most of the cases from the compiler
by setting such variables as volatile, but I'm not really sure if it's
worth of it.