Re: Avoid a possible overflow (src/backend/utils/sort/logtape.c)
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Ranier Vilela <ranier.vf@gmail.com>
Cc: Pg Hackers <pgsql-hackers@postgresql.org>
Date: 2023-08-24T23:47:39Z
Lists: pgsql-hackers
On Thu, Aug 24, 2023 at 02:46:42PM -0300, Ranier Vilela wrote: > With Windows both *long* and *int* are 4 bytes. > But with Linux *long* is 8 bytes and *int* are 4 bytes. And I recall that WIN32 is the only place where we treat long as 4 bytes. > patch attached. Yeah, it looks like you're right here. Will do something about that. -- Michael
Commits
-
Avoid possible overflow with ltsGetFreeBlock() in logtape.c
- 420c8dc7ec67 13.13 landed
- d2bd4ba30585 14.10 landed
- 5180160c1774 15.5 landed
- 1d2939b6dc63 16.0 landed
- 52c6c0f19693 17.0 landed