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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix stack clobber in new uuid-ossp code.
Date: 2014-05-28 15:50:48
Message-ID: E1Wpg7s-0000Lb-9L@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2014-05-28 18:21:25 pgsql: Improve regression tests for uuid-ossp.
Previous Message Magnus Hagander 2014-05-28 11:05:32 pgsql: Ensure cleanup in case of early errors in streaming base backups