facebook/jcommon — pull request #23 by twilliamson (2013-06-08 17:42:03+00:00)
Title: [stats] fix ArithmeticDecoder zero-padding

Fix edge case in some cases where encoded input has fewer than 6 bytes and we get unlucky with underflow. See comments in TestArithmeticCodec.testDecodeZeroPaddingRequired() for more details.