summaryrefslogtreecommitdiffstats
path: root/textproc/ispell/files
diff options
context:
space:
mode:
authorjmz <jmz@FreeBSD.org>2002-02-21 20:22:59 +0000
committerjmz <jmz@FreeBSD.org>2002-02-21 20:22:59 +0000
commit345afa4b9ed73997410eb6dbe6006fe853ec71b7 (patch)
treeae9186fef30ca889a213b0ea66e5797070932157 /textproc/ispell/files
parent132a603f126eca0352a2639bdac4e7822f4ed3d8 (diff)
downloadFreeBSD-ports-345afa4b9ed73997410eb6dbe6006fe853ec71b7.zip
FreeBSD-ports-345afa4b9ed73997410eb6dbe6006fe853ec71b7.tar.gz
Fix a buffer problem.
Submitted by: Dimitar Peikov <mitko@rila.bg> Obtained from: Geoff Kuenning <geoff@cs.hmc.edu>
Diffstat (limited to 'textproc/ispell/files')
-rw-r--r--textproc/ispell/files/patch-ac12
1 files changed, 12 insertions, 0 deletions
diff --git a/textproc/ispell/files/patch-ac b/textproc/ispell/files/patch-ac
new file mode 100644
index 0000000..565b655
--- /dev/null
+++ b/textproc/ispell/files/patch-ac
@@ -0,0 +1,12 @@
+--- correct.c.orig Wed Jul 25 23:51:47 2001
++++ correct.c Thu Feb 21 21:15:51 2002
+@@ -1600,7 +1600,9 @@
+ ch = getc (stdin);
+ if (ch == EOF)
+ break;
++ contextbufs[0][bufsize] = (char) ch;
+ filteredbuf[bufsize++] = (char) ch;
++ contextbufs[0][bufsize] = '\0';
+ filteredbuf[bufsize] = '\0';
+ }
+ }
OpenPOWER on IntegriCloud