Description
The method DeflateUtils.inflateBestEffort(byte[] in, int sizeLimit) is not designed to have sizeLimit set to a negative value.
The fix can be simply to mimic what's done with gzip encoding : if getMaxContent() < 0 then use Integer.MAX_VALUE for the sizeLimit argument.