#2039 closed defect (fixed)

RFS: NULL pointer access in rtems_rfs_buffer_handle_request()

Reported by: Sebastian Huber Owned by: Chris Johns
Priority: normal Milestone: 4.10
Component: fs Version: 4.10
Severity: normal Keywords:
Cc: plattro@… Blocked By:
Blocking:

Description

In case rtems_bdbuf_read() returns an error status, the bd pointer will be set to NULL. In RFS the chain node of the bd will be used for RFS purposes. We must not do this after an erroneous read.

Attachments (1)

0001-PR2039-Fix-NULL-pointer-access.patch (1.3 KB) - added by Sebastian Huber on Mar 9, 2012 at 12:16:08 PM.
Patch.

Download all attachments as: .zip

Change History (3)

Changed on Mar 9, 2012 at 12:16:08 PM by Sebastian Huber

Patch.

comment:1 Changed on Mar 9, 2012 at 1:49:16 PM by Rob Platt

Cc: Rob Platt added

comment:2 Changed on Mar 14, 2012 at 7:12:13 AM by Sebastian Huber

Milestone: 4.114.10
Resolution: fixed
Status: newclosed

Fixed in 4.10 and 4.11.

Note: See TracTickets for help on using tickets.