Opened 11 years ago

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

Download all attachments as: .zip

Change History (4)

Changed 11 years ago by KO Myung-Hun

Attachment: fopen.c added

testcase for a fopen() crash

comment:1 Changed 10 years ago by bird

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

Changed 9 years ago by KO Myung-Hun

Attachment: fopen.diff added

patch for fopen()

comment:2 Changed 9 years ago by bird

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.