Package: sshguard
Version: 1.5-3
Severity: important
Tags: patch upstream

sshguard breaks if logsucker (-l) is used and the inode is too big.

in src/sshguard_logsuck.c current_serial_number is defined as int, it should
be unsigned long (stat.h st_ino is assigned later, and that's unsigned long
here)

patch: (src/sshguard_logsuck.c)
8<---------------------

73c73
<     int current_serial_number;          /* current serial number of the 
source, if active */
---
>     unsigned long current_serial_number;          /* current serial number of 
> the source, if active */

8<--------------------



-- System Information:
Debian Release: 6.0.2
  APT prefers oldstable
  APT policy: (500, 'oldstable'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35.6 (SMP w/2 CPU cores)
Locale: LANG=de_DE, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to