Closed
Bug 1256496
Opened 9 years ago
Closed 9 years ago
hunspell: SEGV near NULL in [@SuggestMgr::leftcommonsubstring]
Categories
(Core :: Spelling checker, defect)
Core
Spelling checker
Tracking
()
RESOLVED
FIXED
mozilla49
Tracking | Status | |
---|---|---|
firefox48 | --- | fixed |
People
(Reporter: tsmith, Unassigned)
References
Details
(4 keywords)
Attachments
(1 file)
2 bytes,
text/plain
|
Details |
Found in hunspell revision ded5b4c62c37084d216154e02e4d5e6efbd3ccfa
To reproduce:
run ./src/tools/example tests/base_utf.aff tests/base_utf.dic test_case.txt
==48123== ERROR: AddressSanitizer: SEGV on unknown address 0x000000000139 (pc 0x000000479f89 sp 0x7fffe66df870 bp 0x0ffffccdbf18 T0)
AddressSanitizer can not provide additional info.
#0 0x479f88 in SuggestMgr::leftcommonsubstring(char const*, char const*) /home/user/code/graphite/hunspell/src/hunspell/suggestmgr.cxx:2184
#1 0x480734 in SuggestMgr::ngsuggest(char**, char*, int, HashMgr**, int) /home/user/code/graphite/hunspell/src/hunspell/suggestmgr.cxx:1361
#2 0x42d02b in Hunspell::suggest(char***, char const*) /home/user/code/graphite/hunspell/src/hunspell/hunspell.cxx:1057
#3 0x402ca2 in main /home/user/code/graphite/hunspell/src/tools/example.cxx:92
#4 0x7fcb9c86cec4 in __libc_start_main /build/eglibc-3GlaMS/eglibc-2.19/csu/libc-start.c:287
#5 0x403991 in _start (/home/user/Desktop/hunspell/example+0x403991)
SUMMARY: AddressSanitizer: SEGV /home/user/code/graphite/hunspell/src/hunspell/suggestmgr.cxx:2184 SuggestMgr::leftcommonsubstring(char const*, char const*)
Reporter | ||
Comment 1•9 years ago
|
||
Updated•9 years ago
|
Group: core-security
Updated•9 years ago
|
Group: dom-core-security
Comment 2•9 years ago
|
||
This now passes under asan with github hunspell master
Comment 3•9 years ago
|
||
Should be fixed on trunk by bug 1257902.
Status: NEW → RESOLVED
Closed: 9 years ago
status-firefox49:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
Updated•9 years ago
|
Group: dom-core-security → core-security-release
Comment 4•8 years ago
|
||
bug 1257902 was fixed in Firefox 47, not 48 or 49. :-)
status-firefox48:
--- → fixed
status-firefox49:
fixed → ---
Updated•8 years ago
|
Group: core-security-release
You need to log in
before you can comment on or make changes to this bug.
Description
•