forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit31d825b
committed
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 ornon-ascii identifiers given.(2) catalog/index.c:ATTRIBUTE_TUPLE_SIZE bytes are allocated butsizeof(FormData_pg_attribute) bytes are written. Note thatATTRIBUTE_TUPLE_SIZE is smaller thansizeof(FormData_pg_attribute). (for example, on solaris 2.6,Tatsuo Ishii1 parent589f5aa commit31d825b
2 files changed
+5
-5
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
7 | 7 |
| |
8 | 8 |
| |
9 | 9 |
| |
10 |
| - | |
| 10 | + | |
11 | 11 |
| |
12 | 12 |
| |
13 | 13 |
| |
| |||
649 | 649 |
| |
650 | 650 |
| |
651 | 651 |
| |
652 |
| - | |
| 652 | + | |
653 | 653 |
| |
654 | 654 |
| |
655 | 655 |
| |
| |||
689 | 689 |
| |
690 | 690 |
| |
691 | 691 |
| |
692 |
| - | |
| 692 | + | |
693 | 693 |
| |
694 | 694 |
| |
695 | 695 |
| |
|
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
10 | 10 |
| |
11 | 11 |
| |
12 | 12 |
| |
13 |
| - | |
| 13 | + | |
14 | 14 |
| |
15 | 15 |
| |
16 | 16 |
| |
| |||
5224 | 5224 |
| |
5225 | 5225 |
| |
5226 | 5226 |
| |
5227 |
| - | |
| 5227 | + | |
5228 | 5228 |
| |
5229 | 5229 |
| |
5230 | 5230 |
| |
|
0 commit comments
Comments
(0)