https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6143





--- Comment #17 from Sidney Markowitz <[email protected]>  2009-07-06 17:26:45 
PST ---
The bug appears to be scanner1.c on line 182

As it is written, passing in a NUL causes it to use an uninitialized variable q
in q the return (YYMARKER is #defined to be q)

Changing the line from
++YYCURSOR;
to
YYMARKER = ++YYCURSOR;

makes the segfault go away and looks at my first glance to be the right thing
to do there, but I don't really know the code, I don't know what scanner1.c is
part of or even if it is written by a human or automatically generated (it
doesn't read very human to me).

Can someone take this from there as I don't have time to follow up on it?

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to