diff options
author | Daniel P. Berrangé <berrange@redhat.com> | 2022-03-25 11:44:52 +0000 |
---|---|---|
committer | Daniel P. Berrangé <berrange@redhat.com> | 2022-04-21 15:00:29 +0000 |
commit | 6feb31a7a10267e14183495915b191ecdf4ea3e8 (patch) | |
tree | fd24148856bf77ddb93253d5b69dcf8938354b28 /README | |
parent | 3551c04ecb34540810a6cca629eb94b257b02db3 (diff) | |
download | libvirt-python-6feb31a7a10267e14183495915b191ecdf4ea3e8.tar.gz |
sanitytest: skip tests when seeing broken lxml implementation
The python lxml registers some global callbacks with libxml2. As a
result when another user of libxml2 calls APIs, it can trigger the
python callbacks that lxml previously registered. Execution of the
python callbacks in this case is often unsafe and leads to SEGVs.
This hasn't been a problem since the sanitytest.py test has been
a standalone program we execute. When it gets turned into a real
python unit test, it will run in the same process as all the other
tests and trigger the crash.
A mitigation was added in lxml 4.5.2 which is good enough to let
us continuing using lxml.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions