diff options
author | tron <tron> | 2002-10-10 18:59:30 +0000 |
---|---|---|
committer | tron <tron> | 2002-10-10 18:59:30 +0000 |
commit | 39184f3b20ea6194a3070e4de7cb9207e6497ddb (patch) | |
tree | 052d286454faf4191706e4bb6d424162136acbda /devel/ptl2 | |
parent | 150938ad911773a0cad553a6074381846a352a73 (diff) | |
download | pkgsrc-39184f3b20ea6194a3070e4de7cb9207e6497ddb.tar.gz |
Add work arround for buffer overflow in PTL2 library as suggested by
Nick Hudson. This fixes PR pkg/18585. Bump package revision to 1.
Diffstat (limited to 'devel/ptl2')
-rw-r--r-- | devel/ptl2/Makefile | 3 | ||||
-rw-r--r-- | devel/ptl2/distinfo | 3 | ||||
-rw-r--r-- | devel/ptl2/patches/patch-ah | 21 |
3 files changed, 25 insertions, 2 deletions
diff --git a/devel/ptl2/Makefile b/devel/ptl2/Makefile index 7f448305c10..0765d0ef1a1 100644 --- a/devel/ptl2/Makefile +++ b/devel/ptl2/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.39 2002/09/10 19:54:59 jlam Exp $ +# $NetBSD: Makefile,v 1.40 2002/10/10 18:59:30 tron Exp $ DISTNAME= PTL-2.1.8 PKGNAME= ptl-2.1.8 +PKGREVISION= 1 CATEGORIES= devel MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/ diff --git a/devel/ptl2/distinfo b/devel/ptl2/distinfo index 8e8a182ef8c..8a865349f3f 100644 --- a/devel/ptl2/distinfo +++ b/devel/ptl2/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.9 2002/09/25 15:54:23 tron Exp $ +$NetBSD: distinfo,v 1.10 2002/10/10 18:59:30 tron Exp $ SHA1 (PTL-2.1.8.tar.gz) = b62ba82f12dd99e2ff8a20b15c2b02c809c07d16 Size (PTL-2.1.8.tar.gz) = 678474 bytes @@ -9,3 +9,4 @@ SHA1 (patch-ad) = c42cb8aa563787f4da73e08bcc7f03189236e480 SHA1 (patch-ae) = b513392a233c126e424164560f6a93d23dc2ae80 SHA1 (patch-af) = 55beff08977e374e37e44188757771f6eeedc999 SHA1 (patch-ag) = 4702253d80a8d35ccf01b1fc23cba3df03281201 +SHA1 (patch-ah) = 9ea9e549eac261409b2d62070abe13dca1f6131d diff --git a/devel/ptl2/patches/patch-ah b/devel/ptl2/patches/patch-ah new file mode 100644 index 00000000000..cee9cf44774 --- /dev/null +++ b/devel/ptl2/patches/patch-ah @@ -0,0 +1,21 @@ +$NetBSD: patch-ah,v 1.1 2002/10/10 18:59:31 tron Exp $ + +--- libaltsys/so/wrap.c.orig Sat Sep 23 00:05:19 2000 ++++ libaltsys/so/wrap.c Thu Oct 10 20:27:58 2002 +@@ -7,6 +7,7 @@ + */ + + #include <sys/types.h> ++#include <sys/param.h> + #include <dirent.h> + #include <stdio.h> + #include <dlfcn.h> +@@ -79,7 +80,7 @@ + int nread; + int fd; + #endif +- char path[256]; ++ char path[MAXPATHLEN]; + char *seekdir; + char *dlm; + char *env; |