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

VERIFIED FIXED

Status

()

Core
ImageLib
--
trivial
VERIFIED FIXED
17 years ago
17 years ago

People

(Reporter: Aleksey Nogin, Assigned: Stuart Parmenter)

Tracking

Trunk
x86
Linux
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

17 years ago
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
(Reporter)

Updated

17 years ago
Blocks: 59652

Comment 1

17 years ago
pnunn is not at that e-mail address anymore... who owns this now?
Assignee: pnunn → pavlov
(Assignee)

Comment 2

17 years ago
function in question here no longer exists.
Status: NEW → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → FIXED

Comment 3

17 years ago
Alrighty then, marking verified
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.