Opened 6 years ago

Closed 5 years ago

#269 closed defect (fixed)

fopen() crash

Reported by: komh 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 komh 6 years ago.
testcase for a fopen() crash
fopen.diff (494 bytes) - added by komh 5 years ago.
patch for fopen()

Download all attachments as: .zip

Change History (4)

Changed 6 years ago by komh

testcase for a fopen() crash

comment:1 Changed 5 years ago by bird

  • Milestone set to libc-0.6.6
  • Priority changed from highest to normal
  • Severity changed from blocker to normal
  • Status changed from new to accepted

Changed 5 years ago by komh

patch for fopen()

comment:2 Changed 5 years ago by bird

  • Component changed from libc to libc-backend
  • Resolution set to fixed
  • Status changed from accepted to closed

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

Note: See TracTickets for help on using tickets.