RTEMS | cpukit/rtems/src: Guard against zero-length in rtems_port_create (!1349)

Avi Weiss (@thnkslprpt) gitlab at rtems.org
Fri Jul 17 07:35:02 UTC 2026




Avi Weiss commented on a discussion on cpukit/rtems/src/dpmemcreate.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1349#note_154768

 >      return RTEMS_INVALID_ADDRESS;
 >    }
 >  
 > +  if ( length == 0 ) {

Yes sorry - updated now @joel

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1349#note_154768
You're receiving this email because of your account on gitlab.rtems.org. Unsubscribe from this thread: https://gitlab.rtems.org/-/sent_notifications/4-cku1ib8jnculkzxr0zfpphi3n-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/20260717/acb113d4/attachment-0001.htm>


More information about the bugs mailing list