Package: hnb
Version: 1.0a-rc2-1
Severity: important
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.

I added an include of honeyd.h, which defines a proto for fgetln().
honeyd.h references some things in event.h, so its included too.

[1]http://people.debian.org/~dannf/check-implicit-pointer-functions
[2]Function `fgetln' implicitly converted to pointer at pfctl_osfp.c:112

--- honeyd-1.0a-rc2.orig/pfctl_osfp.c   2005-08-27 16:31:10.000000000 -0600
+++ honeyd-1.0a-rc2/pfctl_osfp.c        2005-08-27 16:47:00.000000000 -0600
@@ -28,10 +28,12 @@
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include <event.h>
 
 #include <dumbnet.h>
 
 #include "pfvar.h"
+#include "honeyd.h"
 /* #include "pfctl_parser.h" */
 
 #define FAKE_PF_KERNEL




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

Reply via email to