pgsql: Fix pgbench's parsing of double values to notice trailing garbag

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix pgbench's parsing of double values to notice trailing garbag
Date: 2016-05-06 15:08:57
Message-ID: E1ayhNB-00063C-Mw@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix pgbench's parsing of double values to notice trailing garbage.

Noted by Fabien Coelho, though this isn't exactly his proposed patch.
(The technique used here is borrowed from the zic sources.)

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/6b8b4e4d8320d8c9daf9410175c40a09e58c4868

Modified Files
--------------
src/bin/pgbench/pgbench.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2016-05-06 16:09:46 pgsql: Fix possible read past end of string in to_timestamp().
Previous Message Tom Lane 2016-05-06 14:39:42 pgsql: Docs: fix \crosstabview example.