diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-12-13 04:37:51 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-12-13 04:37:51 +0000 |
commit | 31d825ba071d92945aaa59e4a37af5915dfaf9b8 (patch) | |
tree | bb84432f157cb9a463864b91a30a0900834a1b90 /src/backend/access/gist/gistget.c | |
parent | 589f5aa2412155a52acaf68c92d8ff2b8eb3ca3c (diff) | |
download | postgresql-31d825ba071d92945aaa59e4a37af5915dfaf9b8.tar.gz postgresql-31d825ba071d92945aaa59e4a37af5915dfaf9b8.zip |
While investigating a user's complaint, I have found some memory
destructions in 6.4 source using purify.
(1) parser/gram.y:fmtId()
It writes n+3 bytes into n+1 byte-long memory area if mixed case or
non-ascii identifiers given.
(2) catalog/index.c:
ATTRIBUTE_TUPLE_SIZE bytes are allocated but
sizeof(FormData_pg_attribute) bytes are written. Note that
ATTRIBUTE_TUPLE_SIZE is smaller than
sizeof(FormData_pg_attribute). (for example, on solaris 2.6,
Tatsuo Ishii
Diffstat (limited to 'src/backend/access/gist/gistget.c')
0 files changed, 0 insertions, 0 deletions