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

Kinsey Moore (@opticron) gitlab at rtems.org
Thu Aug 29 16:24:29 UTC 2024




Kinsey Moore commented on a discussion on cpukit/libfs/src/jffs2/src/compr_rtime.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/123#note_111659

 >  
 >  		positions[value]=outpos;
 >  		if (repeat) {
 > +#ifdef __rtems__
 > +			if ((repeat + outpos) >= destlen) {

I wasn't given any feedback on the patch I submitted (which is this patch minus the ifdef), so I assume it's going in as-is.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/123#note_111659
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/20240829/a18d5332/attachment-0001.htm>


More information about the bugs mailing list