pgsql: Fix off by one error in JSON extract path code.

From: Andrew Dunstan <andrew(at)dunslane(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix off by one error in JSON extract path code.
Date: 2013-04-04 22:29:07
Message-ID: E1UNseZ-0000SE-4C@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix off by one error in JSON extract path code.

Bug report by David Wheeler, diagnosis assistance from Tom Lane.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/e75feb28341ea49e9d41266906e701a4e3742e2e

Modified Files
--------------
src/backend/utils/adt/jsonfuncs.c | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2013-04-04 23:57:09 pgsql: Add \watch [SEC] command to psql.
Previous Message Bruce Momjian 2013-04-04 16:57:02 pgsql: psql: fix startup crash caused by PSQLRC containing a tilde