Hi Valentin,
On Wed, Feb 23, 2022 at 12:47:58PM +0100, Valentin Lorentz wrote:
> Package: libpython3.9-stdlib
> Version: 3.9.2-1
>
> Dear maintainers,
>
> Since yesterday's upgrade of libexpat1 from 2.2.10-2+deb11u1 to
> 2.2.10-2+deb11u2, using xml.parsers.expat causes the fallowing error:
>
> >>> from xml.parsers import expat
> >>> parser = expat.ParserCreate(namespace_separator=':')
> >>> parser.Parse('<foo></foo>', True)
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> xml.parsers.expat.ExpatError: out of memory: line 1, column 0
>
>
> This causes at least python3-xmltodict to break when used with the
> process_namespaces=True option.
>
> Same issue on Ubuntu's bugtracker:
> https://bugs.launchpad.net/ubuntu/+source/python-xmltodict/+bug/1961800
My understanding here would be that this uncovered an issue actually
in the application using : as a namespace separator. I'm nevertheless
looping here first the upstream maintainer.
A similar issue was in libwbxml for instance.
Regards,
Salvatore