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

Nils Anders Danielsson nad at
Mon Jun 18 13:01:51 EDT 2007

On Tue, 05 Jun 2007, dons at (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.


More information about the Libraries mailing list