RTEMS | Draft: cpukit/libfs/jffs2: Prevent memory corruption due to corrupted data (!123)

Kinsey Moore (@opticron) gitlab at rtems.org
Tue Jul 23 14:38:13 UTC 2024



Kinsey Moore created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/123

Project:Branches: opticron/rtems:rtime-decompress-fix to rtems/rtos/rtems:main
Author:   Kinsey Moore
Assignee: Kinsey Moore



## Summary

cpukit/libfs/jffs2: Prevent memory corruption due to corrupted data

The rtime decompression routine does not fully check bounds during the
entirety of the decompression pass and can corrupt memory outside the
decompression buffer if the compressed data is corrupted. This adds the
required check to prevent this failure mode.

Updates #5072


<!-- 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/123
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/20240723/d08e581d/attachment.htm>


More information about the bugs mailing list