Files
sshguard/sshguard-gcc5.patch
Marcus Meissner 67449df97d Accepting request 1114698 from home:amanzini:branches:security
- update to version 2.4.3:
  * Add signature for BIND
  * Add signature for Gitea
  * Add signature for Microsoft SQL Server for Linux
  * Add signature for OpenVPN Portshare
  * Add signature for user-defined HTTP attacks
  * Update signatures for Dovecot
  * Update signatures for Postfix
  * Fixed Fix memset off-by-one
  * Fixed Resolve DNS names in capability mode using casper
- removed patch sshguard-overflow.patch as fixed in upstream
- clean up .spec file

OBS-URL: https://build.opensuse.org/request/show/1114698
OBS-URL: https://build.opensuse.org/package/show/security/sshguard?expand=0&rev=51
2023-11-07 13:09:59 +00:00

13 lines
385 B
Diff

Index: sshguard-2.4.3/src/blocker/sshguard_whitelist.c
===================================================================
--- sshguard-2.4.3.orig/src/blocker/sshguard_whitelist.c
+++ sshguard-2.4.3/src/blocker/sshguard_whitelist.c
@@ -18,6 +18,7 @@
* SSHGuard. See http://www.sshguard.net
*/
+#define _GNU_SOURCE
#include <arpa/inet.h>
#include <assert.h>
#include <netdb.h>