Closed Bug 94141 Opened 23 years ago Closed 23 years ago

modules/libimg/src/if.cpp : IL_StreamWrite return value undefined if len==0.

Categories

(Core :: Graphics: ImageLib, defect)

x86
Linux
defect
Not set
trivial

Tracking

()

VERIFIED FIXED

People

(Reporter: mozilla-bugs, Assigned: pavlov)

References

()

Details

If IL_StreamWrite is called with len==0, then in line 1002 we will use NS_FAILED on uninitialized rv and the function may return either -1 or 0 depending on our luck. This code was added in revision 1.25 by pnunn@netscape.com
Blocks: 59652
pnunn is not at that e-mail address anymore... who owns this now?
Assignee: pnunn → pavlov
function in question here no longer exists.
Status: NEW → RESOLVED
Closed: 23 years ago
Resolution: --- → FIXED
Alrighty then, marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.