Changeset a841314 in rtems for testsuites/sptests/sp13/task1.c


Ignore:
Timestamp:
Mar 30, 2004, 7:46:38 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
b5cfa4e
Parents:
378aed9
Message:

2004-03-30 David Querbach <querbach@…>

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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • testsuites/sptests/sp13/task1.c

    r378aed9 ra841314  
    2424char    big_receive_buffer[2048];
    2525
    26 long    buffer[ 4 ];
    27 
    28 #define MESSAGE_SIZE (sizeof(long) * 4)
     26long    buffer[ MESSAGE_SIZE / sizeof(long) ];
    2927
    3028void dope_buffer(unsigned char *buff,
Note: See TracChangeset for help on using the changeset viewer.