pgsql: Fix stack clobber in new uuid-ossp code. - Mailing list pgsql-committers

From Tom Lane
Subject pgsql: Fix stack clobber in new uuid-ossp code.
Date
Msg-id E1Wpg7s-0000Lb-9L@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Fix stack clobber in new uuid-ossp code.

The V5 (SHA1 hashing) code wrote 20 bytes into a 16-byte local variable.
This had accidentally failed to fail in my testing and Matteo's, but
buildfarm results exposed the problem.

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/2103218dd4a0c6a44d05c09c066da20e1c2360fb

Modified Files
--------------
contrib/uuid-ossp/uuid-ossp.c |    5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)


pgsql-committers by date:

Previous
From: Magnus Hagander
Date:
Subject: pgsql: Ensure cleanup in case of early errors in streaming base backups
Next
From: Tom Lane
Date:
Subject: pgsql: Improve regression tests for uuid-ossp.