diff options
author | adrianp <adrianp@pkgsrc.org> | 2006-12-02 23:00:04 +0000 |
---|---|---|
committer | adrianp <adrianp@pkgsrc.org> | 2006-12-02 23:00:04 +0000 |
commit | ff9f74b7a2d13bf4cf9a830b6a1147d911ab288e (patch) | |
tree | 57b026f011deb91ae0193d8b51b01aaa3098aca6 /net/tnftpd | |
parent | e89e3be010f2e9042b72533a50fbac3efb21f9fd (diff) | |
download | pkgsrc-ff9f74b7a2d13bf4cf9a830b6a1147d911ab288e.tar.gz |
Add a patch for:
http://lists.grok.org.uk/pipermail/full-disclosure/2006-December/051009.html
Bumb to nb1
Diffstat (limited to 'net/tnftpd')
-rw-r--r-- | net/tnftpd/Makefile | 3 | ||||
-rw-r--r-- | net/tnftpd/distinfo | 3 | ||||
-rw-r--r-- | net/tnftpd/patches/patch-aa | 15 |
3 files changed, 19 insertions, 2 deletions
diff --git a/net/tnftpd/Makefile b/net/tnftpd/Makefile index d019c3d4401..83d37d287ef 100644 --- a/net/tnftpd/Makefile +++ b/net/tnftpd/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.14 2006/06/20 22:19:38 minskim Exp $ +# $NetBSD: Makefile,v 1.15 2006/12/02 23:00:04 adrianp Exp $ # DISTNAME= tnftpd-20040810 +PKGREVISION= 1 CATEGORIES= net MASTER_SITES= ftp://ftp.NetBSD.org/pub/NetBSD/misc/tnftp/ diff --git a/net/tnftpd/distinfo b/net/tnftpd/distinfo index b1eb9114aff..994a0572917 100644 --- a/net/tnftpd/distinfo +++ b/net/tnftpd/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.6 2005/02/24 12:14:05 agc Exp $ +$NetBSD: distinfo,v 1.7 2006/12/02 23:00:04 adrianp Exp $ SHA1 (tnftpd-20040810.tar.gz) = 1f00770edf0ae031183f9a940d9b776f6610e4ea RMD160 (tnftpd-20040810.tar.gz) = 210736c475301c38896039c52287f01fb1b41636 Size (tnftpd-20040810.tar.gz) = 178638 bytes +SHA1 (patch-aa) = 17abae4bd5bf26213539cdd5f160272ac1a39942 diff --git a/net/tnftpd/patches/patch-aa b/net/tnftpd/patches/patch-aa new file mode 100644 index 00000000000..1fbddc2bac2 --- /dev/null +++ b/net/tnftpd/patches/patch-aa @@ -0,0 +1,15 @@ +$NetBSD: patch-aa,v 1.3 2006/12/02 23:00:04 adrianp Exp $ + +--- libnetbsd/glob.c.orig 2003-12-15 12:18:43.000000000 +0000 ++++ libnetbsd/glob.c +@@ -497,7 +497,9 @@ glob1(Char *pattern, glob_t *pglob, size + * we save one character so that we can use ptr >= limit, + * in the general case when we are appending non nul chars only. + */ +- return(glob2(pathbuf, pathbuf, pathbuf + sizeof(pathbuf) - 1, pattern, ++ return(glob2(pathbuf, pathbuf, ++ pathbuf + (sizeof(pathbuf) / sizeof(*pathbuf)) - 1, ++ pattern, + pglob, limit)); + } + |