Mohamed Ayman created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1227

Project:Branches: mohamedayman23/rtems:fix-fdt-len-check-and-pointer-type to 
rtems/rtos/rtems:main
Author:   Mohamed Ayman



## Summary

riscv: fix FDT length check and FDT pointer type

Fix incorrect comparison between fdt_getprop() length (bytes) and address cells 
count. The check now uses ac \* sizeof(uint32_t) to avoid reading invalid data.

Also change FDT pointer type from const char \* to const void \* to match 
libfdt API.

No functional changes.

AI Usage: None

AI Prompt: None

AI Model: None

How AI Used: None

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to