Subtle bug in Data.ByteString and/or GHC (perhaps)

Nils Anders Danielsson nad at cs.chalmers.se
Mon Jun 18 13:01:51 EDT 2007


On Tue, 05 Jun 2007, dons at cse.unsw.edu.au (Donald Bruce Stewart) wrote:

> I note that today we also had a report of a bug related to
> non-evaluatoin of a check in 'binary', meaning an error condition
> wouldn't be spotted, and a short-read value would be returned.  Possibly related.

I tried the most recent darcs version of binary, and the problem
appears to have been fixed, presumably by the patch replacing
inlinePerformIO with unsafePerformIO.

-- 
/NAD



More information about the Libraries mailing list