More on this. I wrote a simple test program to exercise the parser. I am able to make toXMLStringUnSafe read past the source buffer end, but strangely valgrind does not complain.
I also started to test the whole parser with strange strings. So far I can't get it to crash or valgrind to complain. I will continue a bit further on this. I attach my test program to this message, place it inside the msn/ dir and run "make test" to build it.
More on this. I wrote a simple test program to exercise the parser. I am able to make toXMLStringUnSafe read past the source buffer end, but strangely valgrind does not complain.
I also started to test the whole parser with strange strings. So far I can't get it to crash or valgrind to complain. I will continue a bit further on this. I attach my test program to this message, place it inside the msn/ dir and run "make test" to build it.