forked frompostgres/postgres
- Notifications
You must be signed in to change notification settings - Fork6
Commit7edd2cb
committed
Avoid null pointer dereference crash after OOM in Snowball stemmers.
Absorb upstream bug fix (their commite322673a841d9abd69994ae8cd20e191090b6ef4), which prevents a nullpointer dereference crash if SN_create_env() gets a malloc failureat just the wrong point.Thanks to Maksim Korotkov for discovering the null-pointerbug and submitting the fix to upstream snowball.Reported-by: Maksim Korotkov <m.korotkov@postgrespro.ru>Author: Maksim Korotkov <m.korotkov@postgrespro.ru>Discussion:https://postgr.es/m/1d1a46-67ab1000-21-80c451@83151435Backpatch-through: 131 parent49a4508 commit7edd2cb
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
34 | 34 |
| |
35 | 35 |
| |
36 | 36 |
| |
37 |
| - | |
| 37 | + | |
38 | 38 |
| |
39 | 39 |
| |
40 | 40 |
| |
|
0 commit comments
Comments
(0)