Package: sntop
Version: 1.4.3-2
Severity: normal
Tags: patch

Our automated buildd log filter[1] detected a problem that will cause your
package to segfault on architectures where the size of a pointer is greater
than the size of an integer, such as ia64.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions

Specifically, sntop will segfault on ia64 when passed the -w option.  This
patch fixes it.

--- sntop-1.4.3/sntop.c~        2005-05-30 02:10:20.000000000 -0600
+++ sntop-1.4.3/sntop.c 2005-05-30 02:11:58.000000000 -0600
@@ -29,6 +29,7 @@
 
 #include <stdlib.h>
 #include <unistd.h>
+#include <time.h>
 #include <sys/types.h>
 #include <sys/time.h>
 #include <fcntl.h>


-- System Information:
Debian Release: 3.1
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: ia64
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-mckinley
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages sntop depends on:
ii  fping                   2.4b2-to-ipv6-10 sends ICMP ECHO_REQUEST packets to
ii  libc6.1                 2.3.2.ds1-22     GNU C Library: Shared libraries an
ii  libncurses5             5.4-4            Shared libraries for terminal hand

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to