Commit 36eb0b7
committed
improve ASAN instrumentation: table->record[0]
instrument table->record[0], table->record[1] and share->default_values. One should not access record image beyond share->reclength, even if table->record[0] has some unused space after it (functions that work with records, might get a copy of the record as an argument, and that copy - not being record[0] - might not have this buffer space at the end). See b80fa40 and 444587d1 parent fa331ac commit 36eb0b7
2 files changed
+15
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1269 | 1269 | | |
1270 | 1270 | | |
1271 | 1271 | | |
1272 | | - | |
1273 | | - | |
| 1272 | + | |
1274 | 1273 | | |
| 1274 | + | |
| 1275 | + | |
1275 | 1276 | | |
1276 | 1277 | | |
1277 | 1278 | | |
| |||
2430 | 2431 | | |
2431 | 2432 | | |
2432 | 2433 | | |
| 2434 | + | |
2433 | 2435 | | |
2434 | 2436 | | |
2435 | 2437 | | |
| |||
2444 | 2446 | | |
2445 | 2447 | | |
2446 | 2448 | | |
| 2449 | + | |
| 2450 | + | |
2447 | 2451 | | |
2448 | 2452 | | |
2449 | 2453 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
100 | 100 | | |
101 | 101 | | |
102 | 102 | | |
103 | | - | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
104 | 112 | | |
105 | 113 | | |
106 | 114 | | |
| |||
0 commit comments