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)

x86
Linux
defect
Not set
critical

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;
Can any Linux user confirm?
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.

Attachment

General

Created:
Updated:
Size: