commit | 52b877ea7eb8259405d61ed58bb02c5b8ea72840 | [log] [tgz] |
---|---|---|
author | Arathorn <mud@mg.mud.de> | Sun Mar 28 12:48:20 2021 +0200 |
committer | MG Mud User <mud@mg.mud.de> | Sun Mar 28 12:48:20 2021 +0200 |
tree | 31163bc614e3236f7c229f0fa3f1196edd15a1ed | |
parent | 69748cf20d59a6e097a803e84ddee137d0334e92 [diff] |
Eingabedaten pruefen Change-Id: Ifce8ff1798879d801c4fb9934344e454476ad67a
diff --git a/p/daemon/debug.c b/p/daemon/debug.c index 3a92cb3..15ea947 100644 --- a/p/daemon/debug.c +++ b/p/daemon/debug.c
@@ -18,6 +18,9 @@ if ( ch != "debug" && ch != "entwicklung" && ch != "warnungen" ) return 0; + + if (!stringp(txt) || !sizeof(txt)) + return 0; ch = capitalize(ch);