postgresql/src
Andrew Dunstan 6d10f4e9d7 Only adjust negative indexes in json_get up to the length of the path.
The previous code resulted in memory access beyond the path bounds. The
cure is to move it into a code branch that checks the value of lex_level
is within the correct bounds.

Bug reported and diagnosed by Piotr Stefaniak.
2015-07-28 17:54:13 -04:00
..
backend Only adjust negative indexes in json_get up to the length of the path. 2015-07-28 17:54:13 -04:00
bin Make tap tests store postmaster logs and handle vpaths correctly 2015-07-28 15:34:35 -04:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Bump catversion so that HEAD is beyond 9.5 2015-07-28 13:59:23 -07:00
interfaces Improve handling of out-of-memory in libpq. 2015-07-07 18:44:59 +03:00
makefiles Fix parallel make risk with new check temp-install setup 2015-04-29 20:34:22 -04:00
pl Fix (some of) pltcl memory usage 2015-07-20 14:10:07 +02:00
port Redesign tablesample method API, and do extensive code review. 2015-07-25 14:39:00 -04:00
template AIX: Test the -qlonglong option before use. 2015-07-17 03:01:14 -04:00
test Plug RLS related information leak in pg_stats view. 2015-07-28 13:21:22 -07:00
timezone Update time zone data files to tzdata release 2015d. 2015-05-15 19:35:29 -04:00
tools Turn install.bat into a pure one line wrapper fort he perl script. 2015-07-06 22:18:26 +03:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore
DEVELOPERS
Makefile
Makefile.global.in Make tap tests store postmaster logs and handle vpaths correctly 2015-07-28 15:34:35 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:26 -04:00
bcc32.mak
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak