Closed Bug 164345 Opened 22 years ago Closed 22 years ago

Crash due to CreateBackup() calling CopyToNative with nsnull

Categories

(Core Graveyard :: File Handling, defect)

All
Linux
defect
Not set
critical

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: jesup, Assigned: law)

Details

Trunk build, fresh pull today, FreeBSD 4.3

nsSafeSaveFile::CreateBackup() calls CopyToNative with a 1st parameter of
nsnull.  That's "newParent" in io/nsLocalFileUnix.cpp's CopyToNative(), and
there's no check for a null newParent before using it.

Win32 (nsLocalFileWin.cpp) ends up checking for/handling a null newParent.

Crashes randomly and often!
I think bnesse backed himself out after tbox went orange.
I landed sfrasers patch for bug 164190 on the trunk. It was backed out shortly
thereafter due to orangeness. This is fixed.
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
rs vrfy.
Status: RESOLVED → VERIFIED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.