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

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




## Summary

nvdisk.c: Fixed garbage name generation and added memory cleanup

The nvdisk driver modified the character at the position
returned by sizeof(RTEMS_NVDISK_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 (nvda, nvdb, ...) 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/906
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