* bug#32957: Python uses a bundled expat
@ 2018-10-06 14:58 Marius Bakke
2018-10-10 19:27 ` Leo Famulari
0 siblings, 1 reply; 3+ messages in thread
From: Marius Bakke @ 2018-10-06 14:58 UTC (permalink / raw)
To: 32957
[-- Attachment #1: Type: text/plain, Size: 179 bytes --]
Python 2 and 3 are using a bundled Expat (residing under Modules/).
This has been the cause of security vulnerabilities in the past and
should be changed to use Expat from Guix.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#32957: Python uses a bundled expat
2018-10-06 14:58 bug#32957: Python uses a bundled expat Marius Bakke
@ 2018-10-10 19:27 ` Leo Famulari
2019-03-23 22:34 ` Marius Bakke
0 siblings, 1 reply; 3+ messages in thread
From: Leo Famulari @ 2018-10-10 19:27 UTC (permalink / raw)
To: Marius Bakke; +Cc: 32957
[-- Attachment #1: Type: text/plain, Size: 491 bytes --]
On Sat, Oct 06, 2018 at 04:58:13PM +0200, Marius Bakke wrote:
> Python 2 and 3 are using a bundled Expat (residing under Modules/).
>
> This has been the cause of security vulnerabilities in the past and
> should be changed to use Expat from Guix.
Looks like Debian uses an external Expat to fill the dependency, so it
should be possible:
https://packages.debian.org/stretch/python3.5-minimal
We should look into the difference between the bundled Expat and
upstream Expat.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#32957: Python uses a bundled expat
2018-10-10 19:27 ` Leo Famulari
@ 2019-03-23 22:34 ` Marius Bakke
0 siblings, 0 replies; 3+ messages in thread
From: Marius Bakke @ 2019-03-23 22:34 UTC (permalink / raw)
To: Leo Famulari; +Cc: 32957-done
[-- Attachment #1: Type: text/plain, Size: 975 bytes --]
Leo Famulari <leo@famulari.name> writes:
> On Sat, Oct 06, 2018 at 04:58:13PM +0200, Marius Bakke wrote:
>> Python 2 and 3 are using a bundled Expat (residing under Modules/).
>>
>> This has been the cause of security vulnerabilities in the past and
>> should be changed to use Expat from Guix.
>
> Looks like Debian uses an external Expat to fill the dependency, so it
> should be possible:
>
> https://packages.debian.org/stretch/python3.5-minimal
>
> We should look into the difference between the bundled Expat and
> upstream Expat.
Looking at the Debian package did help me figure out how to make it use
system Expat. We needed this patch:
<https://salsa.debian.org/cpython-team/python3/blob/master/debian/patches/setup-modules.diff>.
That patch only works *after* the configure step and requires
regenerating some files (see the rules file around PyExpat), so I took a
simpler approach.
Fixed in d1659c0fb27c4f71c8ddc6a85d3cd9f3a10cca97.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 487 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2019-03-23 22:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-10-06 14:58 bug#32957: Python uses a bundled expat Marius Bakke
2018-10-10 19:27 ` Leo Famulari
2019-03-23 22:34 ` Marius Bakke
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).