2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

10_Zwave.pm: SECURITY patch (Forum #38587)

git-svn-id: https://svn.fhem.de/fhem/trunk@9736 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2015-10-31 13:58:29 +00:00
parent bcc7c23ef6
commit 7d0041fbc9

View File

@ -1784,7 +1784,7 @@ ZWave_configRequestAll($)
#use Data::Dumper;
#Log 1, Dumper $mc;
foreach my $c (sort keys %{$mc->{get}}) {
my $r = ZWave_Cmd("set", $hash, $hash->{NAME}, $c, "request");
my $r = ZWave_Set($hash, $hash->{NAME}, $c, "request");
Log 1, "$c: $r" if($r);
}
return ("","EMPTY");
@ -1806,7 +1806,7 @@ ZWave_associationRequest($$)
$grp = $1 if($data =~ m/..8503(..)/);
return if($grp >= $nGrp);
$zwave_parseHook{"$hash->{nodeIdHex}:..85"} = \&ZWave_associationRequest;
ZWave_Cmd("set", $hash, $hash->{NAME}, "associationRequest", $grp+1);
ZWave_Set($hash, $hash->{NAME}, "associationRequest", $grp+1);
}