[New-bugs-announce] [issue46784] Duplicated symbols when linking embedded Python with libexpat

Yilei Yang report at bugs.python.org
Thu Feb 17 18:35:45 EST 2022


New submission from Yilei Yang <yileiyang9 at gmail.com>:

The libexpat 2.4.1 upgrade from https://bugs.python.org/issue44394 introduced the following new exported symbols:

testingAccountingGetCountBytesDirect
testingAccountingGetCountBytesIndirect
unsignedCharToPrintable
XML_SetBillionLaughsAttackProtectionActivationThreshold
XML_SetBillionLaughsAttackProtectionMaximumAmplification

We need to adjust Modules/expat/pyexpatns.h

(The newer libexpat upgrade https://bugs.python.org/issue46400 has no new symbols).

I'll send a PR.

----------
components: XML
messages: 413464
nosy: yilei
priority: normal
severity: normal
status: open
title: Duplicated symbols when linking embedded Python with libexpat
versions: Python 3.10, Python 3.11, Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue46784>
_______________________________________


More information about the New-bugs-announce mailing list