Mohamed Hassan commented on a discussion on testsuites/libtests/stackchk05/init.c: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_117109 > +void invoke_stack_overflows(void) > +{ > + char buffer_short[20]; > + > + strcpy(buffer_short, long_string); > + > + printk("Stack Overflow invoked\n"); > +} > + > +rtems_task Init( rtems_task_argument argument ) > +{ > + TEST_BEGIN(); > + > + invoke_stack_overflows(); > + > + rtems_test_exit(); why that, it compiles correctly without errors or warnings.[Compilation.txt](/uploads/0a2ad2dac2e4aba1c789061f98573bc1/Compilation.txt) -- View it on GitLab: https://gitlab.rtems.org/rtems/rtos/rtems/-/merge_requests/277#note_117109 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