forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commite119076
committed
Stop reading uninitialized memory in heap_inplace_lock().
Stop computing a never-used value. This removes the read; the read hadno functional implications. Back-patch to v12, like commita07e03f.Reported by Alexander Lakhin.Discussion:https://postgr.es/m/6c92f59b-f5bc-e58c-9bdd-d1f21c17c786@gmail.com1 parent0a05920 commite119076
File tree
3 files changed
+33
-2
lines changed- src
- backend/access/heap
- test/isolation
- expected
- specs
3 files changed
+33
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6278 | 6278 | | |
6279 | 6279 | | |
6280 | 6280 | | |
6281 | | - | |
6282 | 6281 | | |
6283 | 6282 | | |
6284 | | - | |
| 6283 | + | |
6285 | 6284 | | |
6286 | 6285 | | |
6287 | 6286 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
66 | 90 | | |
67 | 91 | | |
68 | 92 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
99 | 107 | | |
100 | 108 | | |
101 | 109 | | |
| |||
0 commit comments
Comments
(0)