Opened 13 years ago

Closed 12 years ago

#269 closed defect (fixed)

fopen() crash

Reported by: KO Myung-Hun Owned by: bird
Priority: normal Milestone: libc-0.6.6
Component: libc-backend Version:
Severity: normal Keywords:
Cc:

Description

Hi/2.

fopen() crash if a complex and very long argument is passed instead of returning NULL and setting errno to ENAMETOOLONG.

Attachments (2)

fopen.c​ (905 bytes ) - added by KO Myung-Hun 13 years ago.
testcase for a fopen() crash
fopen.diff​ (494 bytes ) - added by KO Myung-Hun 12 years ago.
patch for fopen()

Download all attachments as: .zip

Change History (4)

by KO Myung-Hun, 13 years ago

Attachment: fopen.c​ added

testcase for a fopen() crash

comment:1 by bird, 13 years ago

Milestone: → libc-0.6.6
Priority: highest → normal
Severity: blocker → normal
Status: new → accepted

by KO Myung-Hun, 12 years ago

Attachment: fopen.diff​ added

patch for fopen()

comment:2 by bird, 12 years ago

Component: libc → libc-backend
Resolution: → fixed
Status: accepted → closed

Create a new testcase in r3913 and committed a fix in (trunk + branch) in r3914.

Note: See TracTickets for help on using tickets.