--- C:/workspace/poi/org/apache/poi/hssf/dev/BiffViewer.java (revision 501957) +++ C:/workspace/poi/org/apache/poi/hssf/dev/BiffViewer.java (working copy) @@ -621,7 +621,7 @@ super(in); } public void dumpBytes() { - HexDump.dump(this.data, 0, this.currentLength); + HexDump.dump(this.data, 0, Math.max(0,this.currentLength - 1)); } }