2012-04-10 Ramon Novoa <rnovoa@artica.es>
* lib/PandoraFMS/DataServer.pm: Check for single tag XMLs. Fixes bug #3514207. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5922 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
00eac177c5
commit
672f4681ee
pandora_server
|
@ -1,3 +1,7 @@
|
||||||
|
2012-04-10 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
|
* lib/PandoraFMS/DataServer.pm: Check for single tag XMLs. Fixes bug #3514207.
|
||||||
|
|
||||||
2012-04-04 Ramon Novoa <rnovoa@artica.es>
|
2012-04-04 Ramon Novoa <rnovoa@artica.es>
|
||||||
|
|
||||||
* lib/PandoraFMS/WMIServer.pm: Put a regexp that could crash the server
|
* lib/PandoraFMS/WMIServer.pm: Put a regexp that could crash the server
|
||||||
|
|
|
@ -144,8 +144,12 @@ sub data_consumer ($$) {
|
||||||
};
|
};
|
||||||
|
|
||||||
# Invalid XML
|
# Invalid XML
|
||||||
|
if ($@ || ref($xml_data) ne 'HASH') {
|
||||||
if ($@) {
|
if ($@) {
|
||||||
$xml_err = $@;
|
$xml_err = $@;
|
||||||
|
} else {
|
||||||
|
$xml_err = "Invalid XML format.";
|
||||||
|
}
|
||||||
sleep (2);
|
sleep (2);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue