Package: starttls
Version: 0.10-2
Severity: normal
Tags: patch

On architectures where sizeof(int) != sizeof(char*), starttls dies
with a segmentation fault, while trying to display the program usage
information.  The bug is caused by a missing prototype for basename(3)
in starttls.c, thus misinterpreting the return value from basename.
The included patch adds the prototype by adding the missing include.

--- starttls.c.orig     2006-01-15 21:46:17.000000000 +0100
+++ starttls.c  2006-01-15 22:13:54.000000000 +0100
@@ -31,6 +31,7 @@
 #include <string.h>
 
 #include <unistd.h>
+#include <libgen.h>
 
 #include <openssl/lhash.h>
 #include <openssl/bn.h>


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15
Locale: LANG=C, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages starttls depends on:
ii  libc6                         2.3.5-11   GNU C Library: Shared libraries an
ii  libssl0.9.8                   0.9.8a-5   SSL shared libraries

starttls recommends no packages.

-- no debconf information


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

Reply via email to