Hi. Per Coverity.
The commit 7949d95 <http://7949d9594582ab49dee221e1db1aa5401ace49d4>, left out an oversight. The report is: CID 1559468: (#1 of 1): Overflowed array index read (INTEGER_OVERFLOW) I think that Coverity is right. In the function *pgstat_read_statsfile* It is necessary to first check whether it is the most restrictive case. Otherwise, if PgStat_Kind is greater than 11, a negative index may occur. Patch attached. best regards, Ranier Vilela
0001-avoid-overflowed-array-index-pgstat.patch
Description: Binary data