1
0
mirror of https://github.com/postgres/postgres.git synced 2025-12-19 17:02:53 +03:00
Files
postgres/src/backend/snowball/libstemmer
Tom Lane 7edd2cbc53 Avoid null pointer dereference crash after OOM in Snowball stemmers.
Absorb upstream bug fix (their commit
e322673a841d9abd69994ae8cd20e191090b6ef4), which prevents a null
pointer dereference crash if SN_create_env() gets a malloc failure
at just the wrong point.

Thanks to Maksim Korotkov for discovering the null-pointer
bug 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@83151435
Backpatch-through: 13
2025-02-18 21:23:59 -05:00
..
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-12-07 07:04:05 +01:00
2021-02-19 08:10:15 +01:00