forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit088f8e2
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 parent34c3c5c commit088f8e2
1 file changed
+4
-0
lines changedOriginal file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
87 | 87 |
| |
88 | 88 |
| |
89 | 89 |
| |
| 90 | + | |
| 91 | + | |
| 92 | + | |
90 | 93 |
| |
91 | 94 |
| |
92 | 95 |
| |
| |||
123 | 126 |
| |
124 | 127 |
| |
125 | 128 |
| |
| 129 | + | |
126 | 130 |
| |
127 | 131 |
| |
128 | 132 |
| |
|
0 commit comments
Comments
(0)