diff -Nuar ./vsftpd-2.0.6-patch/str.c ./vsftpd-2.0.6-ext.2/str.c --- ./vsftpd-2.0.6-patch/str.c 2008-02-27 22:07:32.000000000 +0300 +++ ./vsftpd-2.0.6-ext.2/str.c 2008-06-26 15:28:29.000000000 +0400 @@ -645,7 +645,7 @@ void str_basename (struct mystr* d_str, const struct mystr* path) { - struct mystr tmp = INIT_MYSTR; + static struct mystr tmp = INIT_MYSTR; str_copy (&tmp, path); str_split_char_reverse(&tmp, d_str, '/'); diff -Nuar ./vsftpd-2.0.6-patch/vsftpver.h ./vsftpd-2.0.6-ext.2/vsftpver.h --- ./vsftpd-2.0.6-patch/vsftpver.h 2008-06-25 02:42:26.000000000 +0400 +++ ./vsftpd-2.0.6-ext.2/vsftpver.h 2008-06-26 15:28:01.000000000 +0400 @@ -1,7 +1,7 @@ #ifndef VSF_VERSION_H #define VSF_VERSION_H -#define VSF_VERSION "2.0.6+ (ext.1-2)" +#define VSF_VERSION "2.0.6+ (ext.1-3)" #endif /* VSF_VERSION_H */