Closed Bug 14736 Opened 25 years ago Closed 25 years ago

Use of uninitialized data

Categories

(Core :: Internationalization, defect, P3)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: colin, Assigned: ftang)

Details

intl/uconv/ucvlatin/nsUnicodeToUCS2BE.cpp

In CopyData is a line:

  for(PRInt32 i; i < aLen; i++)

Notice that i is not given an initial value!! The line should be:

  for(PRInt32 i=0; i < aLen; i++)

Colin.
Status: NEW → ASSIGNED
great catch. Will fix soon.
Target Milestone: M10
assign this to M10.
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
fixed and check in
QA Contact: teruko → ftang
verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.