RTEMS | Follow-up from "libdl: Fix NULL pointer deref in rap app alloc" (#5658)

Vijay Banerjee (@vijay) gitlab at rtems.org
Fri Jul 24 15:11:07 UTC 2026



Issue created by Vijay Banerjee: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5658



The following discussion from !1363 should be addressed:

- [ ] @joel started a [discussion](https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1363#note_155231): 

    > It should be possible to trigger the out of memory error. Some tests like testsuites/sptests/spfatal09/init.c have a _consume_all_memory()_ function. Others use someting like spmountmgr01/init.c: which uses _rtems_heap_greedy_allocate()_. Since this is an allocation via _malloc()_, the second method should work. 
    > 
    > There are tests under libtests/dl* which use RAP. Copying one of them and allocating all of the memory before calling the service that uses _rtems_rap_app_alloc()_ may be enough to trigger this. And yes, I am suggesting adding a new test executable to exercise this.

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/work_items/5658
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-44rh7z56rgj0ihe63ci98itpl-1d/unsubscribe | Manage all notifications: https://gitlab.rtems.org/-/profile/notifications | Help: https://gitlab.rtems.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/bugs/attachments/20260724/41c403fd/attachment.htm>


More information about the bugs mailing list