Unfortunately I had a sign extension problem that made it difficult to distinguish the putmsg "write" calls from the 32 bit library and 64 bit library. It may be that another fix with a cast in the code that compares with LIS_GETMSG_PUTMSG_ULEN in the head code would also work. Is it a risk that someone might try and really write 3000 million bytes of data to a stream?
I don't think so. I originally chose a negative number since all negative byte counts are clearly invalid. So this sounds like it is really a 32/64 bit incompatibility problem.
I'll fit your patches into 2.17.
Thanks,
-- Dave
--- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.614 / Virus Database: 393 - Release Date: 3/5/2004
