diff options
author | Alfred M. Szmidt <ams@gnu.org> | 2004-12-05 14:29:43 +0000 |
---|---|---|
committer | Thomas Schwinge <tschwinge@gnu.org> | 2009-06-18 00:15:26 +0200 |
commit | 849488a953c0c98fbe5a473689bd25d5494b5927 (patch) | |
tree | 65c2a8097eb4987fdae9fe110486a66fb7d5ef56 /ChangeLog | |
parent | 2316d2aa6b9bbbe3f3ad7c604d0cc18000d47b81 (diff) |
2004-09-08 Neal H. Walfield <neal@cs.uml.edu>
* linux/dev/kernel/printk.c: Include <kern/assert.h>.
(printk): Use vsnprintf, not linux_vsprintf to avoid buffer
overruns.
* kern/printf.c (struct vsnprintf_cookie): New structure.
(snputc): New function.
(vsnprintf): Likewise.
Diffstat (limited to 'ChangeLog')
-rw-r--r-- | ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -1,3 +1,13 @@ +2004-09-08 Neal H. Walfield <neal@cs.uml.edu> + + * linux/dev/kernel/printk.c: Include <kern/assert.h>. + (printk): Use vsnprintf, not linux_vsprintf to avoid buffer + overruns. + + * kern/printf.c (struct vsnprintf_cookie): New structure. + (snputc): New function. + (vsnprintf): Likewise. + 2004-11-22 Guillem Jover <guillem@hadrons.org> * bogus/mach_assert.h: Change #ifdef DEBUG to #ifndef NDEBUG |