]> granicus.if.org Git - postgresql/commit
Avoid reading below the start of a stack variable in tokenize_file().
authorNoah Misch <noah@leadboat.com>
Wed, 12 Jun 2013 23:50:52 +0000 (19:50 -0400)
committerNoah Misch <noah@leadboat.com>
Wed, 12 Jun 2013 23:50:52 +0000 (19:50 -0400)
commit3a5d0c55338e6beb4c01ed5fadb1462e90db7545
tree0cb5ef8db1911f1f2051c5c66628c18fabec3e9e
parent813895e4acfa646c6c0405a0a8c5d05637f42865
Avoid reading below the start of a stack variable in tokenize_file().

We would wrongly overwrite the prior stack byte if it happened to
contain '\n' or '\r'.  New in 9.3, so no back-patch.
src/backend/libpq/hba.c