diff options
author | Debarshi Ray <debarshir@freedesktop.org> | 2015-04-17 18:28:20 +0200 |
---|---|---|
committer | Debarshi Ray <debarshir@gnome.org> | 2015-04-28 18:46:09 +0200 |
commit | 711842911edb15977430c0b6c1803e947619efc3 (patch) | |
tree | 27bc93f06e24c2d2abac1e1d5e5df305b786f204 /tests | |
parent | 1d35d990cc2c925a2842cf121f4ff3a3ce5c195a (diff) | |
download | telepathy-logger-711842911edb15977430c0b6c1803e947619efc3.tar.gz |
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
734af80691) 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
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions