pgsql: Fix integer overflow in text_format function, reported by Dean R - Mailing list pgsql-committers

From Heikki Linnakangas
Subject pgsql: Fix integer overflow in text_format function, reported by Dean R
Date
Msg-id E1QOapb-0004jF-2Y@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix integer overflow in text_format function, reported by Dean Rasheed.

In the passing, clarify the comment on why text_format_nv wrapper is needed.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/34be83b7e142a718c7a831c9df9763aa83fe4cd5

Modified Files
--------------
src/backend/utils/adt/varlena.c |   27 ++++++++++++++++++++++-----
1 files changed, 22 insertions(+), 5 deletions(-)


pgsql-committers by date:

Previous
From: Robert Haas
Date:
Subject: pgsql: Improve hash_array() logic for combining hash values.
Next
From: Tom Lane
Date:
Subject: pgsql: Make plpgsql complain about conflicting IN and OUT parameter nam