bmizerany/pq — pull request #44 by aeons (2012-10-03 09:13:11+00:00)
Title: Add failing test for error checking on 64 bits int

Currently some error checking in buf.go is done by converting an uint32 to
int. For 32 bit int this works correctly, however when int is 64 bits,
0xffffffff != -1 and this error checking fails, leading to a slice out of
bounds panic.