forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit217928d
committed
Fix integer underflow in shared memory debugging
dsa_dump would print a large negative number instead of zero forsegment bin 0. Fix by explicitly checking for underflow and addspecial case for bin 0. Backpatch to all supported versions.Author: Ian Ilyasov <ianilyasov@outlook.com>Reviewed-by: Robert Haas <robertmhaas@gmail.com>Discussion:https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COMBackpatch-through: v121 parentfe3b1b5 commit217928d
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1093 | 1093 |
| |
1094 | 1094 |
| |
1095 | 1095 |
| |
1096 |
| - | |
1097 |
| - | |
1098 |
| - | |
| 1096 | + | |
| 1097 | + | |
| 1098 | + | |
| 1099 | + | |
| 1100 | + | |
| 1101 | + | |
| 1102 | + | |
1099 | 1103 |
| |
1100 | 1104 |
| |
1101 | 1105 |
| |
|
0 commit comments
Comments
(0)