git.postgresql.org Git - postgresql.git/commit

git projects / postgresql.git / commit
? search:
summary | shortlog | log | commit | commitdiff | tree
(parent: 34c3c5c) | patch
Assert that wrapper_handler()'s argument is within expected range.
Fri, 7 Mar 2025 21:23:09 +0000 (15:23 -0600)
Fri, 7 Mar 2025 21:23:09 +0000 (15:23 -0600)
commit 088f8e2d568eaa963fe68a15287002081314fad8
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 <tomas@vondra.me>
Suggested-by: Andres Freund <andres@anarazel.de>
Discussion: https://postgr.es/m/ace01111-f9ac-4f61-b1b1-8e9379415444%40vondra.me
Backpatch-through: 17
src/port/pqsignal.c diff | blob | blame | history
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /