[PATCH] non-compliant encoded text causes 0.15.3 segfault

Matthias Andree matthias.andree at gmx.de
Thu Sep 11 15:49:37 CEST 2003


David Relson <relson at osagesoftware.com> writes:

> Here's a patch that fixes the segfault caused by the non-compliant
> encoded text.  This should get you going.

David, could you have a look at "splint" and run "splint -weak" on code
before committing? Chances are good that splint will catch faults like
not checking str* functions for NULL and avoid the NULL dereference that
haunts the lexer code (in fact, any C code). http://www.splint.org/

Please apologize if this mail is unfriendly, I'm very frustrated at
CUPS; it is IMPOSSIBLE to get this Z!/()"§(("!% blood sucking software
to accept a default printer configuration. All files are set up to
default to lp, yet the beast insists on LJ. I'd say that any software
beyond half a Megabyte (CUPS is like 10 MB Or 100 MB with drivers don't
know) is broken beyond repair by design, and this does comprise
lexer_v3.*...

-- 
Matthias Andree

Encrypt your mail: my GnuPG key ID is 0x052E7D95




More information about the Bogofilter mailing list