Skip to content

fix: handle libstemmer errors#2892

Merged
tomatolog merged 1 commit into
manticoresoftware:masterfrom
subnix:fix/handle-libstemmer-errors
Jan 6, 2025
Merged

fix: handle libstemmer errors#2892
tomatolog merged 1 commit into
manticoresoftware:masterfrom
subnix:fix/handle-libstemmer-errors

Conversation

@subnix
Copy link
Copy Markdown
Contributor

@subnix subnix commented Dec 30, 2024

Type of Change: Bug fix

Description of the Change:
The libstemmer API indicates that it can return NULL in the event of an out-of-memory error. However, it appears that it may also return NULL due to an internal error, which causes a crash. These errors should be handled to enhance reliability.

Related Issue:
Fixes #2888

The libstemmer API indicates that it can return NULL in the event of an out-of-memory error. However, it appears that it may also return NULL due to an internal error, which causes a crash. These errors should be handled to enhance reliability.

Fixes manticoresoftware#2888
@sanikolaev sanikolaev requested a review from tomatolog January 2, 2025 06:58
@sanikolaev
Copy link
Copy Markdown
Collaborator

Thanks for the PR @subnix
@tomatolog pls review

@tomatolog tomatolog merged commit 3cc92b6 into manticoresoftware:master Jan 6, 2025
@subnix subnix deleted the fix/handle-libstemmer-errors branch January 6, 2025 10:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Greek stemmer crashes the server

3 participants