ecpg: check return value of replace_variables()
Daniel Gustafsson <dgustafsson@postgresql.org>
Author:
Daniel Gustafsson <dgustafsson@postgresql.org>
Date: 2025-10-17T08:03:15Z
Releases:
19 (unreleased)
ecpg: check return value of replace_variables() The function returns false if it fails to allocate memory, so make sure to check the return value in callsites. Author: Aleksander Alekseev <aleksander@tigerdata.com> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discussion: https://postgr.es/m/CAJ7c6TNPrU8ZxgdfN3PyGY1tzo0bgszx+KkqW0Z7zt3heyC1GQ@mail.gmail.com
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/ecpg/ecpglib/prepare.c | modified | +7 −1 |
Discussion
- [PATCH] ecpg: check return value of replace_variables() 2 messages · 2025-10-07 → 2025-10-10