From 1e056aff4202d053544f85d11b33f2584c8ac083 Mon Sep 17 00:00:00 2001 From: betateilchen Date: Sat, 27 Jun 2020 17:52:36 +0000 Subject: [PATCH] configDB.pm: length check for reading value (max = 64kB) #112486 git-svn-id: https://svn.fhem.de/fhem/trunk@22290 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/configDB.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/configDB.pm b/fhem/configDB.pm index e8b6fa4c8..4a5d16547 100644 --- a/fhem/configDB.pm +++ b/fhem/configDB.pm @@ -537,7 +537,7 @@ sub cfgDB_SaveState { $val =~ s/\n/\\\n/g; $out = "setstate $d $rd->{TIME} $c $val"; if (length($out) > 65530) { - Log3(undef, 1, "Device $d Reading $c: value exceeds length of 64k and will be ignored"); + Log3(undef, 1, "WriteStatefile $d $c: value exceeds length of 64k and will be ignored"); } else { push @rowList, $out; }