Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
log-iter-xml: Fix crash when logs are corrupted or invalid XML
Chances of _tpl_log_store_get_events_for_date returning NULL due to an invalid XML file are lower because we ask libxml2 (since commit 734af80) to recover from errors if possible. Even then, it doesn't hurt to defend against this eventuality. Thanks to Daniel Thompson for catching this! https://bugs.freedesktop.org/show_bug.cgi?id=89595
- Loading branch information