Skip to contentSkip to conversation

2.4.19-rc1 broke OSF binaries on alpha

DISCUSSION Chris Adams 1 participant 1 message Jun 29, 2002

lore
Share & tools
lore
#0 lore raw
Quoted 5 lines · Ivan Kokshaysky

IIRC, the problem is that BSD and OSF readv/writev(2) manuals explicitly talked of 32 bit iov_len, thus allowing the application to pass junk in an upper half of the 64 bit word.
This change broke widely used netscape and acrobat reader, please revert it until we have a better solution:

The Tru64 4.0G and 5.1A man pages say that if the sum of the iov_len values is negative or overflows a 32 bit integer that EINVAL will be returned, but I think this is only for the backwards compatible interface where iov_len was defined as int. It is now defined as size_t and the rest of the man page never says anything about a 32 bit iov_len and the upper half being ignored.

Signature · 3 lines
Chris Adams <[email protected]>
Systems and Network Administrator - HiWAAY Internet Services
I don't speak for anybody but myself - that's enough trouble.