1
我在iTextSharp的zlib实现中发现了一个相当烦人和严重的问题。很难重现,因为它取决于实际数据要到PDF,但在某些情况下,会出现以下异常:iTextSharp的zlib压缩中的IndexOutOfRangeException
System.IndexOutOfRangeException: Index was outside the bounds of the array.
at System.util.zlib.Tree.d_code(Int32 dist)
at System.util.zlib.Deflate.compress_block(Int16[] ltree, Int16[] dtree)