RTEMS | rtems: A returned partition buffer asserts in the chain append (#5750)
Sebastian Huber (@sebhub)
gitlab at rtems.org
Thu Sep 3 02:36:26 UTC 2026
Issue created by Sebastian Huber: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5750
`rtems_partition_get_buffer()` hands the application a buffer which the chain
of free buffers used as a node. The application may write to every byte of it.
`_Partition_Free_buffer()` appends the buffer without a reset of the node. A
debug build therefore ends `rtems_partition_return_buffer()` with a failed
assertion in `_Chain_Append_unprotected()`. The test `regulator01` shows this.
Found while running the test suite with `RTEMS_DEBUG`. This description was
created with Claude Code assistance.
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5750
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/5-2w3a47nqvuzlfr7wbozn0wea6-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260903/1f5d2b63/attachment.htm>
More information about the bugs
mailing list