tags 572362 + patch pending
thanks

Adam C. Emerson wrote:
Package: pure-ftpd
Version: 1.0.28-1
Severity: important

pure-ftpd keeps generating crashes:

[800793.790671] pure-ftpd[9464]: segfault at 8 ip 00007f1413293d25 sp 
00007fffdd9fe1a0 error 4 in libc-2.10.2.so[7f1413274000+14a000]
[803555.771036] pure-ftpd[10663]: segfault at 8 ip 00007f8bf959ad25 sp 
00007fffaa16a270 error 4 in libc-2.10.2.so[7f8bf957b000+14a000]
[803564.398590] pure-ftpd[10666]: segfault at 8 ip 00007f0ab278dd25 sp 
00007fff4a1adf40 error 4 in libc-2.10.2.so[7f0ab276e000+14a000]


The attached patch from the upstream author fixes the problem.

Regards
        Racke



--
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

--- pure-ftpd-1.0.28/src/globals.h~	Sun Jan 17 12:36:22 2010
+++ pure-ftpd-1.0.29/src/globals.h	Sun Mar 14 12:20:38 2010
@@ -174,10 +174,10 @@
 GLOBAL(char utf8, 0);	/* 0: ascii 1: utf-8 */
 GLOBAL(char *charset_fs, NULL);
 GLOBAL(char *charset_client, NULL);
-GLOBAL(iconv_t iconv_fd_fs2client, NULL);
-GLOBAL(iconv_t iconv_fd_fs2utf8, NULL);
-GLOBAL(iconv_t iconv_fd_client2fs, NULL);
-GLOBAL(iconv_t iconv_fd_utf82fs, NULL);
+GLOBAL(iconv_t iconv_fd_fs2client, (iconv_t) -1);
+GLOBAL(iconv_t iconv_fd_fs2utf8, (iconv_t) -1);
+GLOBAL(iconv_t iconv_fd_client2fs, (iconv_t) -1);
+GLOBAL(iconv_t iconv_fd_utf82fs, (iconv_t) -1);
 #endif
 
 #ifndef WITH_TLS

Reply via email to