RTEMS | cpukit/rtems-fdt: Fix rtems_fdt_prop_map size limitation (!1337)
saksham balsane (@sak8644)
gitlab at rtems.org
Sat Jun 27 16:53:08 UTC 2026
saksham balsane created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1337
Project:Branches: sak8644/rtems:fix-fdt-prop-map to rtems/rtos/rtems:main
Author: saksham balsane
## Summary
cpukit/rtems-fdt: Fix rtems_fdt_prop_map size limitation
Introduce `rtems_fdt_prop_map_uint32()` and `rtems_fdt_prop_map_uint64()` to safely map strict property sizes without architecture dependencies. Modify the legacy `rtems_fdt_prop_map()` to be rigid on sizing to prevent arbitrary variable-length properties (like strings) from succeeding. Update API documentation.
Closes #5602.
## Generative AI
<!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/-->
<!--Default settings, if it is a dropdown it will set after submission-->
--
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1337
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-dw0ka35f745kiy8f0rw4ic9lz-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/20260627/df825a5b/attachment.htm>
More information about the bugs
mailing list