Gedare Bloom started a new discussion on cpukit/libmisc/rtems-fdt/rtems-fdt.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/1337#note_153690

 >      if ( cmp == 0 ) {
 >        /* 'namelen' characters are equal but 'index->entries[middle].name' */
 >        /* could have additional characters. */
 > -      if ( index->entries[ middle ].name[ namelen ] == '\0' ) {
 > +      if ( index->entries[ middle ].name[ namelen ] == '\0' ||
 > +           ( index->entries[ middle ].name[ namelen ] == '@' &&
 > +             strchr( &index->entries[ middle ].name[ namelen ], '/' ) == 
 > NULL ) ) {

I'm not sure what this check for `/` is doing here?

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


_______________________________________________
bugs mailing list
[email protected]
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to