diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-21 01:59:46 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-21 01:59:46 +0000 |
commit | c24f1708bbb48db67092496c8725a3ef21b1df1c (patch) | |
tree | 48d09e5286e26f7cf64b37899254abf192c80da7 /net-ftp/glftpd/files | |
parent | removed no-herd from metadata.xml, left over from skel (Manifest recommit) (diff) | |
download | gentoo-2-c24f1708bbb48db67092496c8725a3ef21b1df1c.tar.gz gentoo-2-c24f1708bbb48db67092496c8725a3ef21b1df1c.tar.bz2 gentoo-2-c24f1708bbb48db67092496c8725a3ef21b1df1c.zip |
ver bump for security #64809
Diffstat (limited to 'net-ftp/glftpd/files')
-rw-r--r-- | net-ftp/glftpd/files/1.32-stack-overflow.patch | 12 | ||||
-rw-r--r-- | net-ftp/glftpd/files/digest-glftpd-1.32-r1 (renamed from net-ftp/glftpd/files/digest-glftpd-1.32) | 0 |
2 files changed, 12 insertions, 0 deletions
diff --git a/net-ftp/glftpd/files/1.32-stack-overflow.patch b/net-ftp/glftpd/files/1.32-stack-overflow.patch new file mode 100644 index 000000000000..d10182606760 --- /dev/null +++ b/net-ftp/glftpd/files/1.32-stack-overflow.patch @@ -0,0 +1,12 @@ +--- bin/sources/dupescan.c.orig 2004-09-20 21:19:29.448018912 -0400 ++++ bin/sources/dupescan.c 2004-09-20 21:20:58.484483312 -0400 +@@ -51,7 +51,8 @@ + read_conf_datapath(Temp); + sprintf(dupefile, "%s/logs/dupefile", Temp); + +- strcpy(dupename, argv[1]); ++ strncpy(dupename, argv[1], sizeof(dupename)-1); ++ dupename[sizeof(dupename)-1] = '\0'; + if((fp = fopen(dupefile, "r")) == NULL) + return 0; + diff --git a/net-ftp/glftpd/files/digest-glftpd-1.32 b/net-ftp/glftpd/files/digest-glftpd-1.32-r1 index ae51c837d55b..ae51c837d55b 100644 --- a/net-ftp/glftpd/files/digest-glftpd-1.32 +++ b/net-ftp/glftpd/files/digest-glftpd-1.32-r1 |