1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2026-10-24 01:09:01 +03:00

3 Commits

Author SHA1 Message Date
yirou_yang
c632489417 catalog: Fix NULL deref for nextCatalog without 'catalog' attribute 2026-08-11 05:37:03 +00:00
Daniel Garcia Moreno
52405925b8 catalog: Make sure to reset catalog resolve cache
This patch also adds a couple of static functions for the first call to
xmlCatalogListXMLResolve and xmlCatalogListXMLResolveURI to wrap these
calls with the xmlResetCatalogResolveCache.

Fix https://gitlab.gnome.org/GNOME/libxml2/-/work_items/1125
2026-05-22 09:47:54 +02:00
Daniel Garcia Moreno
f8399e62a3 testcatalog: Add new tests for catalog.c
Adds a new test program to run specific tests related to catalog
parsing.

This initial version includes a couple of tests, the first one to check
the infinite recursion detection related to:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/1018.

The second one tests the nextCatalog element repeated parsing, related
to:
https://gitlab.gnome.org/GNOME/libxml2/-/issues/1019
https://gitlab.gnome.org/GNOME/libxml2/-/issues/1040
2026-01-21 13:29:08 +00:00