RTEMS | rtems-fdt leaks rtems_fdt_handles (#5599)

Gedare Bloom (@gedare) gitlab at rtems.org
Mon Jun 1 21:20:13 UTC 2026



Gedare Bloom created an issue: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5599

Assignee: Gedare Bloom

## Summary
<!--
Please provide as much information as possible such as error messages or attaching logs
-->

The following functions in the rtems-fdt API do not take a handle as an argument, and instead generate a handle internally to search the loaded blobs. These functions do not return the generated handle, and they do not release the handle in the success path. 

Affected API functions:
* rtems_fdt_prop_value
* rtems_fdt_prop_map

Note that the `rtems_fdt_get_value` function also does not take a handle and generates one, and it cleans up the generated handle internally, so I suspect this is the intended solution.


<!-- Pre-set options
- milestone
-->

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/issues/5599
You're receiving this email because of your account on gitlab.rtems.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260601/46db36d9/attachment.htm>


More information about the bugs mailing list