[Pkg-nethack-devel] nethack/patches 13_simple_mail.dpatch,1.1,1.2
Joshua Kwan
joshk-guest@quantz.debian.org
Tue, 06 Jan 2004 18:10:51 +0000
Update of /cvsroot/pkg-nethack/nethack/patches
In directory quantz:/tmp/cvs-serv5266/patches
Modified Files:
13_simple_mail.dpatch
Log Message:
oops, fix a buffer overflow
Index: 13_simple_mail.dpatch
===================================================================
RCS file: /cvsroot/pkg-nethack/nethack/patches/13_simple_mail.dpatch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- 13_simple_mail.dpatch 5 Jan 2004 10:40:50 -0000 1.1
+++ 13_simple_mail.dpatch 6 Jan 2004 18:10:49 -0000 1.2
@@ -109,7 +109,7 @@
+ if (iflags.simplemail)
+ {
+ FILE* mb = fopen(mailbox, "r");
-+ char curline[80], *msg;
++ char curline[102], *msg;
+ boolean seen_one_already = FALSE;
+ struct flock fl = { 0 };
+