diff options
author | tron <tron@pkgsrc.org> | 2009-05-23 09:04:01 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2009-05-23 09:04:01 +0000 |
commit | 7e3119f98bb5b32aec1a0efdf7beaa4f2f6b8c0e (patch) | |
tree | 6e256fe3244d5a62b9a6783d9d3487db7ab22c35 /devel/cscope/patches/patch-ae | |
parent | f5eb39308614d2d1374b4b5e4e35e1e17a4b0455 (diff) | |
download | pkgsrc-7e3119f98bb5b32aec1a0efdf7beaa4f2f6b8c0e.tar.gz |
Update "cscope" package to version 15.7a. This version fixes the
security vulnerability reported in CVE-2009-0148.
Diffstat (limited to 'devel/cscope/patches/patch-ae')
-rw-r--r-- | devel/cscope/patches/patch-ae | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/cscope/patches/patch-ae b/devel/cscope/patches/patch-ae deleted file mode 100644 index d0617df3b56..00000000000 --- a/devel/cscope/patches/patch-ae +++ /dev/null @@ -1,22 +0,0 @@ -$NetBSD: patch-ae,v 1.10 2007/01/06 22:45:49 wiz Exp $ - ---- src/build.c.orig 2006-09-30 10:13:00.000000000 +0200 -+++ src/build.c -@@ -223,7 +223,7 @@ build(void) - if (strcmp(currentdir, home) == 0) { - strcpy(newdir, "$HOME"); - } else if (strncmp(currentdir, home, strlen(home)) == 0) { -- sprintf(newdir, "$HOME%s", currentdir + strlen(home)); -+ snprintf(newdir, sizeof(newdir), "$HOME%s", currentdir + strlen(home)); - } - /* sort the source file names (needed for rebuilding) */ - qsort(srcfiles, nsrcfiles, sizeof(char *), compare); -@@ -454,7 +454,7 @@ cscope: converting to new symbol databas - } - fstat(fileno(postings), &statstruct); - fclose(postings); -- sprintf(sortcommand, "env LC_ALL=C sort -T %s %s", tmpdir, temp1); -+ snprintf(sortcommand, sizeof(sortcommand), "env LC_ALL=C sort -T %s %s", tmpdir, temp1); - if ((postings = mypopen(sortcommand, "r")) == NULL) { - fprintf(stderr, "cscope: cannot open pipe to sort command\n"); - cannotindex(); |