Corrected infinite loop in UnpackedObjectLoader.
commit16e588d76da465cb9356982d06b8455ecf2bb9d1
authorShawn O. Pearce <spearce@spearce.org>
Sun, 3 Dec 2006 02:55:59 +0000 (2 21:55 -0500)
committerShawn O. Pearce <spearce@spearce.org>
Sun, 3 Dec 2006 02:55:59 +0000 (2 21:55 -0500)
tree73b8c7148a533261f68a3145be3f62aa2c44c137
parent9aef6e5dc8b070a2bffd815778571fc843d8c3bb
Corrected infinite loop in UnpackedObjectLoader.

Hopefully this is the last bug in the legacy header support.  The class
went into an infinite loop because we told it to skip over too many
bytes of the buffer, resulting it it never consuming all of the bytes
that were available from the Inflater.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.spearce.jgit/src/org/spearce/jgit/lib/UnpackedObjectLoader.java