postgresql/src
Andrew Dunstan 40a50a17b9 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:59:13 -04:00
..
backend Only adjust negative indexes in json_get up to the length of the path. 2015-07-28 17:59:13 -04:00
bin Make tap tests store postmaster logs and handle vpaths correctly 2015-07-28 16:04:05 -04:00
common pgindent run for 9.5 2015-05-23 21:35:49 -04:00
include Plug RLS related information leak in pg_stats view. 2015-07-28 13:21:37 -07:00
interfaces Improve handling of out-of-memory in libpq. 2015-07-07 18:47:25 +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:18:08 +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:29 -04:00
test Plug RLS related information leak in pg_stats view. 2015-07-28 13:21:37 -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-07 16:33:10 +03:00
tutorial Remove no-longer-required function declarations. 2015-05-24 12:20:23 -04:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
bcc32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Create libpgcommon, and move pg_malloc et al to it 2013-02-12 11:21:05 -03:00
Makefile.global.in Make tap tests store postmaster logs and handle vpaths correctly 2015-07-28 16:04:05 -04:00
Makefile.shlib AIX: Link TRANSFORM modules with their dependencies. 2015-07-15 21:00:30 -04:00
nls-global.mk Setup error context callback for transaction lock waits 2014-03-19 15:10:36 -03:00
win32.mak Autoconfiscate selection of 64-bit int type for 64-bit large object API. 2012-10-07 21:52:43 -04:00