$OpenBSD: patch-src_networking_c,v 1.1 2020/03/17 04:51:28 tb Exp $

Index: src/networking.c
--- src/networking.c.orig
+++ src/networking.c
@@ -1939,7 +1939,7 @@ void securityWarningCommand(client *c) {
     static time_t logged_time;
     time_t now = time(NULL);
 
-    if (labs(now-logged_time) > 60) {
+    if (llabs(now-logged_time) > 60) {
         serverLog(LL_WARNING,"Possible SECURITY ATTACK detected. It looks like somebody is sending POST or Host: commands to Redis. This is likely due to an attacker attempting to use Cross Protocol Scripting to compromise your Redis instance. Connection aborted.");
         logged_time = now;
     }
