Opened 12 years ago

Closed 10 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 12 years ago.
testcase for a fopen() crash
fopen.diff (494 bytes ) - added by KO Myung-Hun 10 years ago.
patch for fopen()

Download all attachments as: .zip

Change History (4)

by KO Myung-Hun, 12 years ago

Attachment: fopen.c added

testcase for a fopen() crash

comment:1 by bird, 11 years ago

Milestone: libc-0.6.6
Priority: highestnormal
Severity: blockernormal
Status: newaccepted

by KO Myung-Hun, 10 years ago

Attachment: fopen.diff added

patch for fopen()

comment:2 by bird, 10 years ago

Component: libclibc-backend
Resolution: fixed
Status: acceptedclosed

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

Note: See TracTickets for help on using tickets.