diff options
author | Bruce Momjian <bruce@momjian.us> | 1998-12-13 04:39:00 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1998-12-13 04:39:00 +0000 |
commit | 47cae78f7e0bb460f4cda0d526da968a2a94ec55 (patch) | |
tree | 0c96d72e103e58f93b4d9f36e916e91264af1372 /src/tutorial/funcs.source | |
parent | bc27c2e4ce922101aa7e05cea39559950f1c7511 (diff) |
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/tutorial/funcs.source')
0 files changed, 0 insertions, 0 deletions