mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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
a7344af05e
commit
e3878ec855
@ -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 ($@) {
|
if ($@ || ref($xml_data) ne 'HASH') {
|
||||||
$xml_err = $@;
|
if ($@) {
|
||||||
|
$xml_err = $@;
|
||||||
|
} else {
|
||||||
|
$xml_err = "Invalid XML format.";
|
||||||
|
}
|
||||||
sleep (2);
|
sleep (2);
|
||||||
next;
|
next;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user