diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-14 19:02:22 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 1999-02-14 19:02:22 +0000 |
commit | d3c057cb213552b36fc591abb64e7530d6006909 (patch) | |
tree | e69ef54a69406e430ac355e5ae39f5c243ce67e2 /sys/kern/sysv_ipc.c | |
parent | 2cf9841a6d96670b5f8710f70da153060f3ba3d3 (diff) |
readv/writev with iov_len == 0 is legal (was already ok in uipc_syscalls.c).
Make the check more readable by comparing against SSIZE_MAX instead
of checking for wraparound. This is safe because SSIZE_MAX * 2 <=
SIZE_T_MAX. Fixes recno problems in the db routines exposed by a
perl test.
Diffstat (limited to 'sys/kern/sysv_ipc.c')
0 files changed, 0 insertions, 0 deletions