Yang Zhang created a merge request: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1297
Project:Branches: Chloe/rtems:fix-posix-mmap to rtems/rtos/rtems:main Author: Yang Zhang ## Summary posix: fix mmap boundary check The inclusive comparison against st_size incorrectly rejects mappings ending exactly at the file boundary. This patch: 1.Changes \>= to \> to allow valid mappings up to the file size. 2.Uses subtraction-based logic to prevent potential integer overflow. ## Generative AI <!--If you have used AI please use the "AI Contribution" template otherwise leave this blank see our fulls statement at https://www.rtems.org/generative-ai/--> <!--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/1297 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
