libexttextcat icon indicating copy to clipboard operation
libexttextcat copied to clipboard

Handle out of memory by exiting instead of segfaulting

Open sirainen opened this issue 2 years ago • 1 comments

Dovecot limits process VSZ by default, and we noticed that libexttextcat crashes when it can't allocate memory. Segfaulting doesn't make it very clear why the failure happened, so would be nice to get some kind of an error message printed. Here's the simplest patch I thought of to fix it.

sirainen avatar Jun 01 '23 19:06 sirainen

Any chance merge this PR and release new version? 🤔

kloczek avatar Sep 01 '23 17:09 kloczek