HyperTreeGrid HTG Reader corrupt read htg file version 2.0
The HyperTreeGrid HTG Reader cannot correctly read htg file version 2.0. It shows some random behavior as the reader seems to read from corrupted memory and not from the file. Some parts are valid while others changed randomly.
Steps to reproduce
- Consider the modified file
randomHTG-pv511_modified.htg
from issue #21710 - Read this file and look at the
Result
array. - Reload the file (
right click on the file -> Reload Files
) - Different result
I have also observed this behaviour with my own HTG exporter. The appended blob can be read correctly with htg file version 1.0, however shows this corrupted behavior then switching to file version 2.0.