Package: libapache-mod-trigger
Version: 1.1-4.1
Severity: important
Tags: patch

Our automated buildd log filter[1] detected a problem[2] 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
[2]
Function `ap_sub_req_lookup_uri' implicitly converted to pointer at 
mod_trigger.c:75 
Function `ap_create_environment' implicitly converted to pointer at 
mod_trigger.c:96
Function `ap_get_remote_logname' implicitly converted to pointer at 
mod_trigger.c:272

diff -urN libapache-mod-trigger-1.1.orig/mod_trigger.c 
libapache-mod-trigger-1.1/mod_trigger.c
--- libapache-mod-trigger-1.1.orig/mod_trigger.c        2002-06-07 
13:44:07.000000000 -0600
+++ libapache-mod-trigger-1.1/mod_trigger.c     2005-08-28 21:13:58.000000000 
-0600
@@ -5,10 +5,13 @@
 
 #include "httpd.h"
 #include "http_config.h"
+#include "http_core.h"
 #include "http_protocol.h"
+#include "http_request.h"
 #include "ap_config.h"
 #include "fnmatch.h"
 #include "http_log.h"
+#include "util_script.h"
 
 /* Strings for help */
 #define TriggerEngine "On or Off (Off by default). This enables the trigger 
engine."
@@ -269,7 +272,7 @@
        if(cfg->user)
                table_execute(r, cfg->user, r->connection->user, cfg->log);
        if(cfg->ident)
-               table_execute(r, cfg->ident, (char *)ap_get_remote_logname(r, 
r), cfg->log);
+               table_execute(r, cfg->ident, (char *)ap_get_remote_logname(r), 
cfg->log);
        if(cfg->pathinfo)
                table_execute(r, cfg->pathinfo, r->path_info, cfg->log);
        if(cfg->accept)

-- 
dann frazier <[EMAIL PROTECTED]>



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

Reply via email to