1
0
mirror of https://github.com/postgres/postgres.git synced 2025-11-28 11:44:57 +03:00
Files
postgres/src/backend/utils
Peter Eisentraut e1f7173ea1 Avoid potential buffer overflow crash
A pointer to a C string was treated as a pointer to a "name" datum and
passed to SPI_execute_plan().  This pointer would then end up being
passed through datumCopy(), which would try to copy the entire 64 bytes
of name data, thus running past the end of the C string.  Fix by
converting the string to a proper name structure.

Found by LLVM AddressSanitizer.
2013-11-23 07:31:07 -05:00
..
2013-11-23 07:31:07 -05:00
2011-02-08 23:04:18 +02:00
2011-01-01 13:18:15 -05:00
2011-01-01 13:18:15 -05:00