Closed Bug 300335 Opened 20 years ago Closed 20 years ago

Invalid write in get_current_cs

Categories

(Core :: Spelling checker, defect)

defect
Not set
major

Tracking

()

VERIFIED FIXED

People

(Reporter: ajschult784, Assigned: ajschult784)

Details

Attachments

(1 file)

get_current_cs allocates ccs to be of size 0xff (255) 215 ccs = (struct cs_info *) malloc(0xff * sizeof(cs_info)); and then attempts to initialize the 0xff element 244 for (i = 0x00; i <= 0xff ; ++i) { 245 ccs[i].cupper = upper[i];
Flags: blocking1.8b4?
Without further information about this problem, it's not going to block our release. please renominate if you can tell us why this should block. Thanks.
Flags: blocking1.8b4? → blocking1.8b4-
Attached patch patchSplinter Review
Attachment #190204 - Flags: superreview?(mscott)
Attachment #190204 - Flags: review?(mscott)
Assignee: mscott → ajschult
Attachment #190204 - Flags: superreview?(mscott)
Attachment #190204 - Flags: superreview+
Attachment #190204 - Flags: review?(mscott)
Attachment #190204 - Flags: review+
Comment on attachment 190204 [details] [diff] [review] patch low risk patch to make us stop stomping on memory we don't own
Attachment #190204 - Flags: approval1.8b4?
Attachment #190204 - Flags: approval1.8b4? → approval1.8b4+
Checking in extensions/spellcheck/myspell/src/csutil.cpp; /cvsroot/mozilla/extensions/spellcheck/myspell/src/csutil.cpp,v <-- csutil.cpp new revision: 1.6; previous revision: 1.5 done
Status: NEW → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Verified FIXED using code inspection.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: