Closed Bug 418349 Opened 12 years ago Closed 10 years ago
phone is dereferenced before oom check in Affix
This is still present with Hunspell 1.2.8
Assignee: nobody → timeless
Status: NEW → ASSIGNED
Attachment #430900 - Flags: review?(ryanvm)
Attachment #430900 - Flags: review?(ryanvm) → review?(nemeth)
Nemeth, as best I can tell, 1.2.9 does not address this. Is that correct?
Previous patch would use delete on malloc, should be free on malloc or delete on new. Also has a typo of + if (!phone) return 1; + return 1; which would always return 1 of course. New patch committed to upstream hunspell for 1.2.10
I'll mark this bug as depending on a future Hunspell 1.2.10 bug upon release.
Fixed by bug 564608
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.