#1113 AIOOB in TinyTree.addNamespace()

v9.3
closed
5
2012-10-08
2010-12-20
Michael Kay
No

The TinyTree implementation maintains statistics to help it learn the best size for creating an initially empty TinyTree. This includes counting the number of trees that have been created since the Java VM was initialized. This number is held in an integer, and after months of continuous running it can overflow. After it overflows, unpredictable consequences occur; there is evidence that these include an ArrayIndexOutOfBoundsException in the method TinyTree.addNamespace().

The problem was encountered in Saxon 9.1. A patch is being committed for 9.2 and 9.3.

Discussion

  • Michael Kay

    Michael Kay - 2010-12-22

    This patch is also being applied to the 9.1 branch.

     
  • Michael Kay

    Michael Kay - 2010-12-22

    Fixed in 9.3.0.4