diff options
Diffstat (limited to 'ftp/proftpd')
-rw-r--r-- | ftp/proftpd/Makefile | 1 | ||||
-rw-r--r-- | ftp/proftpd/files/patch-src-auth.c | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/ftp/proftpd/Makefile b/ftp/proftpd/Makefile index bf8501c4ef26..e3ab3a76a711 100644 --- a/ftp/proftpd/Makefile +++ b/ftp/proftpd/Makefile @@ -7,6 +7,7 @@ PORTNAME= proftpd DISTVERSION= 1.3.1 +PORTREVISION= 1 CATEGORIES= ftp MASTER_SITES= ftp://ftp.proftpd.org/distrib/source/ \ ftp://ftp.fastorama.com/mirrors/ftp.proftpd.org/distrib/source/ \ diff --git a/ftp/proftpd/files/patch-src-auth.c b/ftp/proftpd/files/patch-src-auth.c new file mode 100644 index 000000000000..61386a883e9f --- /dev/null +++ b/ftp/proftpd/files/patch-src-auth.c @@ -0,0 +1,43 @@ +ndex: src/auth.c +=================================================================== +RCS file: /cvsroot/proftp/proftpd/src/auth.c,v +retrieving revision 1.52 +diff -u -r1.52 auth.c +--- src/auth.c 5 Oct 2007 17:04:13 -0000 1.52 ++++ src/auth.c 8 Oct 2007 18:44:21 -0000 +@@ -503,6 +503,17 @@ + return res; + } + ++ if (MODRET_ISERROR(mr)) { ++ res = MODRET_ERROR(mr); ++ ++ if (cmd->tmp_pool) { ++ destroy_pool(cmd->tmp_pool); ++ cmd->tmp_pool = NULL; ++ } ++ ++ return res; ++ } ++ + m = NULL; + } + +@@ -566,6 +577,17 @@ + return res; + } + ++ if (MODRET_ISERROR(mr)) { ++ res = MODRET_ERROR(mr); ++ ++ if (cmd->tmp_pool) { ++ destroy_pool(cmd->tmp_pool); ++ cmd->tmp_pool = NULL; ++ } ++ ++ return res; ++ } ++ + m = NULL; + } + |