forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit41db973
committed
Fix incorrect initialization of BackendActivityBuffer.
Since commitc8e8b5a, this has been zeroed out using the wrong length.In practice the length would always be too small, leading to not zeroingthe whole buffer rather than clobbering additional memory; and that'spretty harmless, both because shmem would likely start out as zeroesand because we'd reinitialize any given entry before use. Still,it's bogus, so fix it.Reported by Petru-Florin Mihancea (bug #15312)Discussion:https://postgr.es/m/153363913073.1303.6518849192351268091@wrigleys.postgresql.org1 parent03838b8 commit41db973
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2695 | 2695 |
| |
2696 | 2696 |
| |
2697 | 2697 |
| |
2698 |
| - | |
| 2698 | + | |
2699 | 2699 |
| |
2700 | 2700 |
| |
2701 | 2701 |
| |
|
0 commit comments
Comments
(0)