mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-01 07:19:24 +00:00
10_ZWave.pm: Security patch (Forum #38587)
git-svn-id: https://svn.fhem.de/fhem/trunk@9746 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
bf247d9c16
commit
d91e5a481d
@ -2041,7 +2041,7 @@ ZWave_secNonceReceived($$)
|
|||||||
if ($type eq "set" && $cmd && $cmd !~ m/^config.*request$/) {
|
if ($type eq "set" && $cmd && $cmd !~ m/^config.*request$/) {
|
||||||
readingsSingleUpdate($hash, "state", $cmd, 1);
|
readingsSingleUpdate($hash, "state", $cmd, 1);
|
||||||
Log3 $name, 5, "$name: type=$type, cmd=$cmd ($getSecMsg)";
|
Log3 $name, 5, "$name: type=$type, cmd=$cmd ($getSecMsg)";
|
||||||
ZWave_secEnd($hash);
|
ZWave_secEnd($hash) if ($type eq "set");
|
||||||
}
|
}
|
||||||
|
|
||||||
return undef;
|
return undef;
|
||||||
|
Loading…
Reference in New Issue
Block a user