- Notifications
You must be signed in to change notification settings - Fork28
Commit1b5438e
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 parent187331f commit1b5438e
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)