Re: BUG #18614: [ECPG] out of bound in DecodeDateTime
Michael Paquier <michael@paquier.xyz>
From: Michael Paquier <michael@paquier.xyz>
To: Bruce Momjian <bruce@momjian.us>
Cc: p.nekrasov@fobos-nt.ru, pgsql-bugs@lists.postgresql.org
Date: 2024-10-22T23:37:35Z
Lists: pgsql-bugs
On Tue, Oct 22, 2024 at 02:53:50PM +0900, Michael Paquier wrote: > And here is what I had in mind, checking the error code on top of the > output. The output is really optional, but that maps with 0 with the > offset applied, so I've just kept it. I had some time this morning, so I have looked at it again, kept the patch as-is, and backpatched all the way down (with proper authorship of course). -- Michael
Commits
-
ecpg: Fix out-of-bound read in DecodeDateTime()
- 9ecfd8a48adf 12.21 landed
- fcafbaadf7e5 13.17 landed
- 9a51d4af12a7 14.14 landed
- 335501fb2b80 15.9 landed
- a1e613b81aa0 16.5 landed
- 2c37cb26f8af 17.1 landed
- a0bff38d133a 18.0 landed