diff options
author | Noah Misch <noah@leadboat.com> | 2013-06-12 19:51:12 -0400 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2013-06-12 19:51:12 -0400 |
commit | 66008564f8ce570f7ad6368fbde2138e946d328b (patch) | |
tree | 4377a5b6d835bf4bc3a5409cb38fa09561b37c81 /src/backend/access/spgist/spginsert.c | |
parent | 3a5d0c55338e6beb4c01ed5fadb1462e90db7545 (diff) | |
download | postgresql-66008564f8ce570f7ad6368fbde2138e946d328b.tar.gz postgresql-66008564f8ce570f7ad6368fbde2138e946d328b.zip |
Avoid reading past datum end when parsing JSON.
Several loops in the JSON parser examined a byte in memory just before
checking whether its address was in-bounds, so they could read one byte
beyond the datum's allocation. A SIGSEGV is possible. New in 9.3, so
no back-patch.
Diffstat (limited to 'src/backend/access/spgist/spginsert.c')
0 files changed, 0 insertions, 0 deletions