diff options
author | Christian Faulhammer <opfer@gentoo.org> | 2008-09-11 23:20:52 +0000 |
---|---|---|
committer | Christian Faulhammer <opfer@gentoo.org> | 2008-09-11 23:20:52 +0000 |
commit | 9936889bc1e36d68a7f5b4b5b412d9dd35539a4d (patch) | |
tree | 545238e591c9530b4aa59d0930352beaded51b3b /app-editors/joe/files | |
parent | clean up (diff) | |
download | gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.tar.gz gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.tar.bz2 gentoo-2-9936889bc1e36d68a7f5b4b5b412d9dd35539a4d.zip |
clean up
(Portage version: 2.1.4.4)
Diffstat (limited to 'app-editors/joe/files')
-rw-r--r-- | app-editors/joe/files/joe-3.0-overflow.patch | 12 | ||||
-rw-r--r-- | app-editors/joe/files/joe-3.1-overflow.patch | 12 |
2 files changed, 0 insertions, 24 deletions
diff --git a/app-editors/joe/files/joe-3.0-overflow.patch b/app-editors/joe/files/joe-3.0-overflow.patch deleted file mode 100644 index 493ef8d3d011..000000000000 --- a/app-editors/joe/files/joe-3.0-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- rc.c~ 2004-04-23 16:02:18.000000000 +0100 -+++ rc.c 2004-11-16 20:41:33.000000000 +0000 -@@ -708,7 +708,8 @@ - int line = 0; /* Line number */ - int err = 0; /* Set to 1 if there was a syntax error */ - -- strcpy(buf, name); -+ strncpy(buf, name, sizeof(buf) - 1); -+ buf[sizeof(buf)-1] = '\0'; - #ifdef __MSDOS__ - fd = fopen((char *)buf, "rt"); - #else diff --git a/app-editors/joe/files/joe-3.1-overflow.patch b/app-editors/joe/files/joe-3.1-overflow.patch deleted file mode 100644 index c30822631d92..000000000000 --- a/app-editors/joe/files/joe-3.1-overflow.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- rc.c~ 2004-05-28 17:37:30.000000000 +0100 -+++ rc.c 2004-11-16 20:33:47.000000000 +0000 -@@ -810,7 +810,8 @@ - int line = 0; /* Line number */ - int err = 0; /* Set to 1 if there was a syntax error */ - -- strcpy((char *)buf, (char *)name); -+ strncpy((char *)buf, (char *)name, sizeof(buf) - 1); -+ buf[sizeof(buf)-1] = '\0'; - #ifdef __MSDOS__ - fd = fopen((char *)buf, "rt"); - #else |