Changeset 124800a in rtems


Ignore:
Timestamp:
Apr 25, 2010, 7:50:05 PM (10 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, master
Children:
85e0a22
Parents:
2cc30e90
Message:

2010-04-25 Joel Sherrill <joel.sherrill@…>

  • libcsupport/src/readv.c: Check for < 0 on iov_len, not <= 0. A readv() with all iov_len equal to 0 should have no effect.
Location:
cpukit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r2cc30e90 r124800a  
     12010-04-25      Joel Sherrill <joel.sherrill@oarcorp.com>
     2
     3        * libcsupport/src/readv.c: Check for < 0 on iov_len, not <= 0. A
     4        readv() with all iov_len equal to 0 should have no effect.
     5
    162010-04-14      Ralf Corsépius <ralf.corsepius@rtems.org>
    27
  • cpukit/libcsupport/src/readv.c

    r2cc30e90 r124800a  
    7575      rtems_set_errno_and_return_minus_one( EINVAL );
    7676
    77     if ( iov[v].iov_len <= 0 )
     77    if ( iov[v].iov_len < 0 )
    7878      rtems_set_errno_and_return_minus_one( EINVAL );
    7979
Note: See TracChangeset for help on using the changeset viewer.