udev: handle invalid XML files read from devices
authorChristophe Fergeau <cfergeau@redhat.com>
Sun, 17 Jul 2011 07:04:06 +0000 (09:04 +0200)
committerChristophe Fergeau <cfergeau@redhat.com>
Sun, 17 Jul 2011 13:20:44 +0000 (15:20 +0200)
commit42e25fa5984d2f8b485cc50788c83fb23fa80eaa
tree7bc214daa1b53cb23503bf33ac4cba8c2a523218
parent85c2e33de5ee8fe1facc21d5be3ac61e900c56f8
udev: handle invalid XML files read from devices

The generic callout code doesn't check the return of
itdb_sysinfo_extended_parse_from_xml which can be NULL if XML
parsing failed. If this happens, make sure we don't blindly try
to go on.
tools/generic-callout.c