Mohamed Hassan commented on a discussion on 
testsuites/libtests/stackchk05/init.c: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114125

 > +const char* buffer_long = "This is a very long string";
 > +
 > +void invoke_stack_overflows(void)
 > +{
 > +  char buffer_short[20];
 > +  
 > +  strcpy(buffer_short, buffer_long);
 > +  
 > +  printk("Overflow case run\n");
 > +}
 > +
 > +rtems_task Init( rtems_task_argument argument )
 > +{
 > +  TEST_BEGIN();
 > +
 > +  printk ("Stackchk05 test program is running!!!!\n");

Alright.

-- 
View it on GitLab: 
https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_114125
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