[Buildroot] [PATCH] package/xerces: fix memory leak when transcoding fails

Peter Korsgaard peter at korsgaard.com
Tue Oct 26 17:43:37 UTC 2021


>>>>> "Matthew" == Matthew Weber via buildroot <buildroot at buildroot.org> writes:

 > Seen with the IconvGNU transcoder when parsing "<aaa.xsdopengis.net/gml\x96".
 > The reason is that XMLString::transcode(repText2, manager) throws a TranscodingException
 > which causes the tmp1 string to leak.

 > Upstream: https://github.com/apache/xerces-c/commit/1bdf6d8ba878c1fe1d779824be70001fc0bebd2c

 > Signed-off-by: Matthew Weber <matthew.weber at collins.com>

 > ---
 > This is applicable to LTS as well.

Committed to 2021.02.x and 2021.08.x, thanks.

-- 
Bye, Peter Korsgaard


More information about the buildroot mailing list