Commit Graph

1 Commits (74d076caf1837ddacae0f7cd5d9e6ee0b47d63d2)

Author SHA1 Message Date
Ben Noordhuis 7e40c7ddc9 buffers: fix intermittent out of bounds error
The base64 decoder would intermittently throw an out-of-bounds exception when
the buffer in `buf.write('', 'base64')` was a zero-sized buffer located at the
end of the slab.

Fixes #2657.
2012-02-02 19:14:06 +01:00