diff options
author | Guillem Jover <guillem@debian.org> | 2006-11-06 23:09:18 +0000 |
---|---|---|
committer | Guillem Jover <guillem@hadrons.org> | 2010-06-10 23:21:21 +0200 |
commit | fbbdb79b12e67ec10e0c810773367c6188789cc5 (patch) | |
tree | 48d07a8a13b754ae4671fd79fcd420c60b59da39 /debian/patches | |
parent | 9f769a4c2497c180f14c863155e866fae20c3707 (diff) | |
download | inetutils-fbbdb79b12e67ec10e0c810773367c6188789cc5.tar.gz |
Fix implicit conversions to int for return value
Making the code segfault on 64 bit architectures.
Closes: #395216, #395218
Thanks-to: Dann Frazier <dannf@debian.org>
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/43_ret_converted_to_int.patch | 25 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/43_ret_converted_to_int.patch b/debian/patches/43_ret_converted_to_int.patch new file mode 100644 index 0000000..951446d --- /dev/null +++ b/debian/patches/43_ret_converted_to_int.patch @@ -0,0 +1,25 @@ +Index: rsh/rsh.c +=================================================================== +--- rsh/rsh.c.orig 2006-11-07 01:01:29.000000000 +0200 ++++ rsh/rsh.c 2006-11-07 01:01:46.000000000 +0200 +@@ -70,6 +70,8 @@ + # include <sys/select.h> + #endif + ++#include "xalloc.h" ++ + #ifdef SHISHI + #define REALM_SZ 1040 + #endif +Index: telnet/authenc.c +=================================================================== +--- telnet/authenc.c.orig 2006-11-07 01:01:06.000000000 +0200 ++++ telnet/authenc.c 2006-11-07 01:01:14.000000000 +0200 +@@ -40,6 +40,7 @@ static char sccsid[] = "@(#)authenc.c 8. + #include <arpa/telnet.h> + #include <libtelnet/encrypt.h> + #include <libtelnet/misc.h> ++#include <unistd.h> + + #include "general.h" + #include "ring.h" diff --git a/debian/patches/series b/debian/patches/series index c54897c..7e8db5e 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -7,3 +7,4 @@ 40_ftpd_LOGCMD_NULL.patch -p0 41_gethostbyname_segfault.patch -p0 42_syslogd_leaks.patch -p0 +43_ret_converted_to_int.patch -p0 |