Closed Bug 325938 Opened 20 years ago Closed 20 years ago

don't pass isdigit arguments that make it assert

Categories

(MailNews Core :: Filters, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 251882

People

(Reporter: csthomas, Unassigned)

References

()

Details

I'm getting Debug Assertion Failed popups, and the stack indicates we're passing isdigit negative characters. http://lxr.mozilla.org/seamonkey/source/mailnews/extensions/bayesian-spam-filter/src/nsBayesianFilter.cpp#276 276 if (!isdigit(c)) 277 return PR_FALSE; Would making line 276 read if (c < 0 || !isdigit(c)) solve the problem? Or using NS_IS_DIGIT instead?
Flags: blocking1.9a1?
*** This bug has been marked as a duplicate of 251882 ***
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
Flags: blocking1.9a1?
Product: Core → MailNews Core
You need to log in before you can comment on or make changes to this bug.