diff options
author | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-07-01 17:31:23 +0000 |
---|---|---|
committer | Kenneth R Westerback <krw@cvs.openbsd.org> | 2010-07-01 17:31:23 +0000 |
commit | def1382d5beecbd48eb0418c20faa7d9978cb5cf (patch) | |
tree | 1e385c888c17425f022962890382649dd65f75b6 /bin | |
parent | 4646324bc1a558653bb05db5bbe3331c4fe2ad5a (diff) |
Return EINVAL if the file position is greater than LONG_MAX, since
otherwise truncation will occur on archs where LONG LONG and LONG
are not the same.
Noticed at n2k10. Error return suggested by deraadt@.
ok beck@ millert@ deraadt@ guenther@
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions