Closed
Bug 349
Opened 27 years ago
Closed 26 years ago
Segmentation fault if can't get current directory
Categories
(MozillaClassic Graveyard :: XFE, defect, P3)
Tracking
(Not tracked)
VERIFIED
WONTFIX
People
(Reporter: mfg, Assigned: mcafee)
Details
Created by Michael Gordon (mfg@ee.ed.ac.uk) on Wednesday, May 13, 1998 6:15:17 AM PDT
Additional Details :
There's a segmentation fault in strlen() at line 4915
of cmd/xfe/mozilla.c if the previous getcwd() fails.
Is setting 'string' to '.' if getcwd() fails acceptable?
Assignee | ||
Updated•26 years ago
|
Status: NEW → ASSIGNED
Component: Platform: Rhapsody → XFE
Assignee | ||
Comment 1•26 years ago
|
||
I put an assert in here for now, yeah there's a segfault possibility.
Do you have a case where this happens so I can test this?
Sorry it took so long for me to get to this bug.
Assignee | ||
Comment 2•26 years ago
|
||
[from mfg]
Just do
mkdir /tmp/foo
mkdir /tmp/foo/foo2
chmod 111 /tmp/foo
cd /tmp/foo/foo2
moz-export
I discovered this when other people tried to run the mozilla binary I'd
compiled under my home directory, which is mode 711. I don't know how
likely it is that this bug would be triggered in normal use.
Assignee | ||
Updated•26 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → WONTFIX
Assignee | ||
Comment 3•26 years ago
|
||
xfe is gone in the new world.
You need to log in
before you can comment on or make changes to this bug.
Description
•