Gedare Bloom started a new discussion on 
cpukit/libdebugger/rtems-debugger-server.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/517#note_125172

 > +  }
 > +
 > +  *thread_id_str = strchr((const char*) buffer, ':') + 1;
 > +  if (*thread_id_str == NULL || *thread_id_str - (char*)buffer > size) {
 > +    /* malformed packet */
 > +    return 1;
 > +  }
 > +
 > +  *offset_str = strchr(*thread_id_str, ',') + 1;
 > +  if (*offset_str == NULL || *offset_str - (char*)buffer > size) {
 > +    /* malformed packet */
 > +    return 1;
 > +  }
 > +
 > +  *lm_str = strchr(*offset_str, ',') + 1;
 > +  if (*lm_str == NULL || *lm_str - (char*)buffer > size) {

and here

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/517#note_125172
You're receiving this email because of your account on gitlab.rtems.org.


_______________________________________________
bugs mailing list
bugs@rtems.org
http://lists.rtems.org/mailman/listinfo/bugs

Reply via email to