RTEMS | cpukit/stringto: add null check for input string in stringto* methods (!929)

Prashant Rahul (@prashantrahul141) gitlab at rtems.org
Fri Feb 6 06:05:45 UTC 2026




Prashant Rahul commented on a discussion on cpukit/libmisc/stringto/stringto_template.h: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/929#note_141978

 >  #endif
 >    char *end;
 >  
 > -  if ( NULL == n )
 > +  if ( NULL == s || NULL == n )

done

-- 
View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/929#note_141978
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/20260206/c6df8033/attachment.htm>


More information about the bugs mailing list