Re: postgresql-10.0/src/backend/access/transam/clog.c:234: sanity check after use ?

Tom Lane <tgl@sss.pgh.pa.us>

From: Tom Lane <tgl@sss.pgh.pa.us>
To: David Binderman <dcb314@hotmail.com>
Cc: "pgsql-bugs@postgresql.org" <pgsql-bugs@postgresql.org>
Date: 2017-10-06T15:52:59Z
Lists: pgsql-bugs
David Binderman <dcb314@hotmail.com> writes:
> postgresql-10.0/src/backend/access/transam/clog.c:234]: (style) Array index 'i' is used before limits check.

Yeah, this is pretty bogus, will fix (and the same for your other one).

			regards, tom lane


Commits

  1. Fix access-off-end-of-array in clog.c.