critical impact:
readv - different buffer capacity (CrCh97)
Problem description
The IOV_MAX constant used by the readv function has different values on Tru64 UNIX and HP-UX.
The readv function reads from a file. On Tru64 UNIX, the </usr/include/limits.h> header file defines IOV_MAX as having the value 1024. On HP-UX, IOV_MAX is defined as having the value 16. The third parameter, iov_count on Tru64 UNIX and iovcnt on HP-UX, is valid if greater than zero and less or equal to IOV_MAX. This might cause problems in applications that use a value of IOV_MAX greater than 16. Identifiers
 IOV_MAX |
|
|
|
|
See also
Solution description
Review the applicable manpages and your code to determine if your code has dependencies on the value.
See also
Problem summary
| classifications |
source types |
OS release |
severity |
type |
| CAP, IO, KN |
C, C++ |
any HP-UX 11i version |
critical |
changed |
|