On 10/03/2011 08:10 AM, Stefan Berger wrote:
I am doing that. Indefinite length encoding *would* be a problem because you cannot push the size onto the stack so that you could skip to the end of the structure.
For an indefinite length encoding, you just have to keep reading the stream at end_struct until you hit the canary tag ignoring anything you encounter.
Regards, Anthony Liguori
Stefan