Notice: We have migrated to GitLab launching 2024-05-01 see here: https://gitlab.rtems.org/

#4149 closed defect (fixed)

RFS bit map search buffer overflow

Reported by: Chris Johns Owned by: Chris Johns
Priority: normal Milestone: 5.2
Component: fs/rfs Version: 5
Severity: normal Keywords:
Cc: Blocked By:
Blocking:

Description

Cloned from #4148:


The bit search create writes past the end of its buffer. See:

https://lists.rtems.org/pipermail/devel/2020-October/062701.html

Change History (1)

comment:1 Changed on 10/16/20 at 23:55:53 by Chris Johns <chrisj@…>

Resolution: fixed
Status: assignedclosed

In [changeset:"7021c014640a24248b2aa7245a1e6248bb5c832a/rtems" 7021c014/rtems]:

libfs/rfs: Check search bit map end on last bit

  • Do not write past the last location of the search bit map whe nit is being created.

Closes #4149

Note: See TracTickets for help on using tickets.