RTEMS | cpukit/libmisc/shell:fix command df overflow (!210)

xiaojun zheng (@zhengxiaojun) gitlab at rtems.org
Tue Sep 10 01:31:29 UTC 2024



xiaojun zheng created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/210

Project:Branches: zhengxiaojun/rtems:fix_libmisc_df to rtems/rtos/rtems:main
Author:   xiaojun zheng




## Summary

cpukit/libmisc/shell:fix command df overflow

  - change type unsigned to uint64_t, it might overflowed if
    the size is greater the 4GB.
  - increase buffer size is to eliminate the compiler's warning
    that the buffer might be too small


<!-- 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/210
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/20240910/31811d41/attachment-0001.htm>


More information about the bugs mailing list