summaryrefslogtreecommitdiff
path: root/x11/kdebase
diff options
context:
space:
mode:
authortron <tron>1998-09-21 17:26:07 +0000
committertron <tron>1998-09-21 17:26:07 +0000
commit2bdbdce51179c6caaabcf2df405ac0b3738c7b30 (patch)
tree1f9b6b418fd8dd2ceea2dd69e272da78a269200a /x11/kdebase
parent8aab01dfdbc1f76672d2b195ef4a91ccd7a057ad (diff)
downloadpkgsrc-2bdbdce51179c6caaabcf2df405ac0b3738c7b30.tar.gz
Add bug for possible buffer overflow in "kpanel". Patch supplied by
Thomas Gerner.
Diffstat (limited to 'x11/kdebase')
-rw-r--r--x11/kdebase/patches/patch-aj13
1 files changed, 13 insertions, 0 deletions
diff --git a/x11/kdebase/patches/patch-aj b/x11/kdebase/patches/patch-aj
new file mode 100644
index 00000000000..7179bc86f33
--- /dev/null
+++ b/x11/kdebase/patches/patch-aj
@@ -0,0 +1,13 @@
+$NetBSD: patch-aj,v 1.1 1998/09/21 17:26:07 tron Exp $
+
+--- kpanel/pmenu.C.orig Sun Jun 14 22:38:24 1998
++++ kpanel/pmenu.C Sun Sep 20 22:44:08 1998
+@@ -73,7 +73,7 @@
+ QFile file(filename);
+ if (file.open(IO_ReadOnly)){
+ char s[64];
+- int r = file.readBlock(s, 64);
++ int r = file.readBlock(s, 63);
+ file.close();
+
+ if(r == -1)