Closed
Bug 9517
Opened 26 years ago
Closed 25 years ago
small bug
Categories
(Core :: XPCOM, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
M11
People
(Reporter: sh990154, Assigned: dp)
Details
In Seamonkey V7 there's a small bug in file
xpcom/io/nsIStringStream.cpp
in method
class CharImpl::write
if ((PRInt32)aCount > maxCount)
{
do
....
memcpy(newString, mString, mLength) <== mLength is not initialized, use mOffset instead
Assignee | ||
Comment 1•26 years ago
|
||
Are you sure this is uninitialized. I looked at the code. mLength is being
initialized in the constructor of ConstCharImpl.
Is there a specific case where this is uninitialized.
Assignee | ||
Comment 4•26 years ago
|
||
Have you gotten my mail where I wrote that it's initialized to zero but
seems not to be updated during writes to that stream?? In FilesTest it
strikes every time (on my ARM system).
If there're no other architectures where the bug hits, this maybe an
unnoticed compiler bug.
I've seen it with egcs-1.1.2 and gcc-2.95 prerelease egcs-990623.
Assignee | ||
Updated•25 years ago
|
Target Milestone: M9 → M11
Assignee | ||
Updated•25 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•