forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit6fd144e
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 parentb3f6b14 commit6fd144e
1 file changed
+7
-3
lines changedLines changed: 7 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
1113 | 1113 |
| |
1114 | 1114 |
| |
1115 | 1115 |
| |
1116 |
| - | |
1117 |
| - | |
1118 |
| - | |
| 1116 | + | |
| 1117 | + | |
| 1118 | + | |
| 1119 | + | |
| 1120 | + | |
| 1121 | + | |
| 1122 | + | |
1119 | 1123 |
| |
1120 | 1124 |
| |
1121 | 1125 |
| |
|
0 commit comments
Comments
(0)