Coverity Errors

Issues for pmlogextract
ID Checker File Function Classification
39 FORWARD_NULL /src2/git/pcp/src/pmlogextract/<stdout> yy_get_next_buffer IGNORED
 Context is flex generated code (from lex.l) where it appears the pointer cannot be NULL
70 FORWARD_NULL /src2/git/pcp/src/pmlogextract/metriclist.c searchmlist IGNORED
 Coverity analysis is wrong. Deref can only happen if ml[j].numinst > 0, which means maxinst must be > 0, which means vlistp malloc() was done
92 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogextract/pmlogextract.c writerlist FIXED
 Commit 8ae0a40 adds an assert() after all ftell() calls to ensure a non-negative result
93 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogextract/pmlogextract.c writerlist FIXED
 See commit 8ae0a40
94 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogextract/pmlogextract.c writerlist FIXED
 See commit 8ae0a40
108 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogextract/pmlogextract.c writerlist FIXED
 See commit 8ae0a40
110 NEGATIVE_RETURNS /src2/git/pcp/src/pmlogextract/logio.c _pmLogGet FIXED
 Commit 76f80b3 adds an assert() after the ftell() call to ensure a non-negative result
187 RESOURCE_LEAK /src2/git/pcp/src/pmlogextract/logio.c _pmLogGet FIXED
 Commit 02301f8
199 RESOURCE_LEAK /src2/git/pcp/src/pmlogextract/logio.c _pmLogGet FIXED
 Commit 02301f8
253 REVERSE_INULL /src2/git/pcp/src/pmlogextract/metriclist.c insertrlist FIXED
 Commit 21467c7
262 REVERSE_INULL /src2/git/pcp/src/pmlogextract/pmlogextract.c nextlog FIXED
 Commit ed4f552
265 REVERSE_INULL /src2/git/pcp/src/pmlogextract/pmlogextract.c nextlog FIXED
 Commit ed4f552
308 UNUSED_VALUE /src2/git/pcp/src/pmlogextract/pmlogextract.c nextmeta FIXED
 Commit a7d00a5