[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[or-cvs] Fix a potential buffer overflow found by Ilja van Sprundel.
- To: or-cvs@freehaven.net
- Subject: [or-cvs] Fix a potential buffer overflow found by Ilja van Sprundel.
- From: arma@seul.org (Roger Dingledine)
- Date: Mon, 11 Oct 2004 17:55:21 -0400 (EDT)
- Delivered-to: archiver@seul.org
- Delivered-to: or-cvs-outgoing@seul.org
- Delivered-to: or-cvs@seul.org
- Delivery-date: Mon, 11 Oct 2004 17:55:40 -0400
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-cvs@freehaven.net
Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/home2/arma/work/onion/cvs/src/or
Modified Files:
rephist.c
Log Message:
Fix a potential buffer overflow found by Ilja van Sprundel.
We don't think this is exploitable, but best to fix it anyway.
Index: rephist.c
===================================================================
RCS file: /home/or/cvsroot/src/or/rephist.c,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -d -r1.28 -r1.29
--- rephist.c 18 Aug 2004 09:57:50 -0000 1.28
+++ rephist.c 11 Oct 2004 21:55:19 -0000 1.29
@@ -287,7 +287,7 @@
break;
}
}
- log(severity, buffer);
+ log(severity, "%s", buffer);
}
}
}