diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-30 19:46:38 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2004-03-30 19:46:38 +0000 |
commit | a841314365099df23b3cd1ea7e6c01f8174dda17 (patch) | |
tree | c4c17871a212bcc0a071d1ee4fd31c21b44437c5 /testsuites/sptests/sp13/system.h | |
parent | 2004-03-30 David Querbach <querbach@realtime.bc.ca> (diff) | |
download | rtems-a841314365099df23b3cd1ea7e6c01f8174dda17.tar.bz2 |
2004-03-30 David Querbach <querbach@realtime.bc.ca>
PR 595/tests
* sp13/fillbuff.c, sp13/init.c, sp13/putbuff.c, sp13/system.h,
sp13/task1.c, sp13/task2.c: Fill_buffer() in fillbuff.c overruns the
supplied buffer due to confusion in the definition of MESSAGE_SIZE.
Some files in the sp13 test treat MESSAGE_SIZE as a count of bytes,
others treat it as a count of longs.
Diffstat (limited to 'testsuites/sptests/sp13/system.h')
-rw-r--r-- | testsuites/sptests/sp13/system.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/testsuites/sptests/sp13/system.h b/testsuites/sptests/sp13/system.h index 77bb81f943..33c5d6f16f 100644 --- a/testsuites/sptests/sp13/system.h +++ b/testsuites/sptests/sp13/system.h @@ -66,4 +66,8 @@ TEST_EXTERN rtems_name Task_name[ 4 ]; /* array of task names */ TEST_EXTERN rtems_id Queue_id[ 4 ]; /* array of queue ids */ TEST_EXTERN rtems_name Queue_name[ 4 ]; /* array of queue names */ +/* test configuration */ + +#define MESSAGE_SIZE (sizeof(long) * 4) /* must be multiple of sizeof(long) */ + /* end of include file */ |