[or-cvs] Fix a potential buffer overflow found by Ilja van Sprundel.
Roger Dingledine
arma at seul.org
Mon Oct 11 21:55:21 UTC 2004
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);
}
}
}
More information about the tor-commits
mailing list