Closed
Bug 418244
Opened 17 years ago
Closed 17 years ago
Fixed size of PATH_MAX variable cashes browser compiled with new gcc and static string size check.
Categories
(Firefox :: General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 412610
People
(Reporter: stransky, Unassigned)
Details
Attachments
(1 file)
Default PATH_MAX is somewhere hardcoded to 1024. But the system size of PATH_MAX is usually bigger (4096).
For instance, when realpath is called with 1024 byte buffer (and expects 4096 bytes here), browser crashes.
from stdlib.h:
extern char *realpath (__const char *__restrict __name,
char *__restrict __resolved) __THROW __wur;
Comment 1•17 years ago
|
||
Can any Linux user confirm?
Updated•17 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 17 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•