public inbox for [email protected]  
help / color / mirror / Atom feed
pgsql: Fix integer underflow in shared memory debugging
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:41 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:41 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/6fd144e3a9664ea545d10008c48dceb6c4e9d38a

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:44 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:44 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/a30a305584b81fd25eb890337ebec53acfbdc96b

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:44 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:44 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
REL_15_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/55ea12a2827791b7fb3f30b207a122a35df951d8

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:44 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:44 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
REL_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/217928ddb45a8a3b03fc1f9d3d97166f1d9a9d12

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:45 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:45 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
REL_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/d5c3d6ca0152b8ea4870effcd49521e4f767ccac

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix integer underflow in shared memory debugging
@ 2024-02-29 11:45 Daniel Gustafsson <[email protected]>
  0 siblings, 0 replies; 6+ messages in thread

From: Daniel Gustafsson @ 2024-02-29 11:45 UTC (permalink / raw)
  To: [email protected]

Fix integer underflow in shared memory debugging

dsa_dump would print a large negative number instead of zero for
segment bin 0.  Fix by explicitly checking for underflow and add
special case for bin 0. Backpatch to all supported versions.

Author: Ian Ilyasov <[email protected]>
Reviewed-by: Robert Haas <[email protected]>
Discussion: https://postgr.es/m/GV1P251MB1004E0D09D117D3CECF9256ECD502@GV1P251MB1004.EURP251.PROD.OUTLOOK.COM
Backpatch-through: v12

Branch
------
REL_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/24dc4afebd5a82f30aed6bd18d48ff42ef787410

Modified Files
--------------
src/backend/utils/mmgr/dsa.c | 10 +++++++---
1 file changed, 7 insertions(+), 3 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2024-02-29 11:45 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2024-02-29 11:41 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>
2024-02-29 11:44 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>
2024-02-29 11:44 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>
2024-02-29 11:44 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>
2024-02-29 11:45 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>
2024-02-29 11:45 pgsql: Fix integer underflow in shared memory debugging Daniel Gustafsson <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox