forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commitc3510cf
committed
Assert that wrapper_handler()'s argument is within expected range.
pqsignal() already does a similar check, but strange Valgrindreports have us wondering if wrapper_handler() is somehow gettingcalled 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.meBackpatch-through: 171 parent5c8dcf9 commitc3510cf
1 file changed
+4
-0
lines changedLines changed: 4 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 |
| |
91 | 94 |
| |
92 | 95 |
| |
| |||
139 | 142 |
| |
140 | 143 |
| |
141 | 144 |
| |
| 145 | + | |
142 | 146 |
| |
143 | 147 |
| |
144 | 148 |
| |
|
0 commit comments
Comments
(0)