Closed Bug 538891 Opened 15 years ago Closed 15 years ago

Overflow at CEnumFormatEtc::Next

Categories

(Core :: Widget: Win32, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
blocking1.9.2 --- .2+
status1.9.2 --- .2-fixed
blocking1.9.1 --- .9+
status1.9.1 --- .9-fixed

People

(Reporter: khuey, Assigned: khuey)

References

Details

(Keywords: regression, verified1.9.2)

Attachments

(1 file)

Comment on attachment 420975 [details] [diff] [review]
Patch

+ PRUint32 count = NS_MIN(static_cast<PRUint32>(aMaxToFetch), left);

Do we need that static cast anymore?
Attachment #420975 - Flags: review?(jmathies) → review+
http://hg.mozilla.org/mozilla-central/rev/f5fca857c581
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Comment on attachment 420975 [details] [diff] [review]
Patch

We haven't seen any actual regressions from this yet (it's more of a theoretical bug than anything) but it's an easy fix so we may want to consider taking it on branch.
Attachment #420975 - Flags: approval1.9.2.1?
blocking1.9.1: --- → ?
Flags: wanted1.9.0.x+
Flags: blocking1.9.0.19?
nominated for older branches because it fixes a regression from bug 533691
blocking1.9.1: ? → needed
Flags: blocking1.9.0.19? → blocking1.9.0.19-
Keywords: regression
blocking1.9.1: needed → .9+
blocking1.9.2: --- → .2+
Comment on attachment 420975 [details] [diff] [review]
Patch

a1922=beltzner
Attachment #420975 - Flags: approval1.9.2.2? → approval1.9.2.2+
I don't know what to test here. verified per check-in and verification of 533691
Keywords: verified1.9.2
(In reply to comment #7)
> I don't know what to test here. verified per check-in and verification of
> 533691

Nothing really to test, this was just a bug fix patch for some code that landed.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: