Prakhar Kumar created a merge request: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/912

Project:Branches: prakhar/rtems:flashdisk_initialize_fix to 
rtems/rtos/rtems:main
Author:   Prakhar Kumar




## Summary

The flashdisk initialize function modified the character at the position 
returned by sizeof(RTEMS_FLASHDISK_DEVICE_BASE_NAME), which points past the 
intended device suffix and results in undefined behavior. 

Adjust the index to update the suffix character directly, ensuring correct 
device names (fdda, fddb, ...) and also added memory cleanup

<!--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/912
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