public inbox for [email protected]help / color / mirror / Atom feed
pgsql: Assert that wrapper_handler()'s argument is within expected rang 2+ messages / 1 participants [nested] [flat]
* pgsql: Assert that wrapper_handler()'s argument is within expected rang @ 2025-03-07 21:23 Nathan Bossart <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Nathan Bossart @ 2025-03-07 21:23 UTC (permalink / raw) To: [email protected] Assert that wrapper_handler()'s argument is within expected range. pqsignal() already does a similar check, but strange Valgrind reports have us wondering if wrapper_handler() is somehow getting called with an invalid signal number. Reported-by: Tomas Vondra <[email protected]> Suggested-by: Andres Freund <[email protected]> Discussion: https://postgr.es/m/ace01111-f9ac-4f61-b1b1-8e9379415444%40vondra.me Backpatch-through: 17 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/088f8e2d568eaa963fe68a15287002081314fad8 Modified Files -------------- src/port/pqsignal.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
* pgsql: Assert that wrapper_handler()'s argument is within expected rang @ 2025-03-07 21:23 Nathan Bossart <[email protected]> 0 siblings, 0 replies; 2+ messages in thread From: Nathan Bossart @ 2025-03-07 21:23 UTC (permalink / raw) To: [email protected] Assert that wrapper_handler()'s argument is within expected range. pqsignal() already does a similar check, but strange Valgrind reports have us wondering if wrapper_handler() is somehow getting called with an invalid signal number. Reported-by: Tomas Vondra <[email protected]> Suggested-by: Andres Freund <[email protected]> Discussion: https://postgr.es/m/ace01111-f9ac-4f61-b1b1-8e9379415444%40vondra.me Backpatch-through: 17 Branch ------ REL_17_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c3510cfc8b401d61812713c4ccf040125dc7ce1b Modified Files -------------- src/port/pqsignal.c | 4 ++++ 1 file changed, 4 insertions(+) ^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~2025-03-07 21:23 UTC | newest] Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2025-03-07 21:23 pgsql: Assert that wrapper_handler()'s argument is within expected rang Nathan Bossart <[email protected]> 2025-03-07 21:23 pgsql: Assert that wrapper_handler()'s argument is within expected rang Nathan Bossart <[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