[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[avr-libc-commit] avr-libc/libc/stdio snprintf.c [avr-libc-1_4-branch]
From: |
Dmitry Xmelkov |
Subject: |
[avr-libc-commit] avr-libc/libc/stdio snprintf.c [avr-libc-1_4-branch] |
Date: |
Sun, 25 Mar 2007 14:31:27 +0000 |
CVSROOT: /sources/avr-libc
Module name: avr-libc
Branch: avr-libc-1_4-branch
Changes by: Dmitry Xmelkov <dmix> 07/03/25 14:31:27
Modified files:
libc/stdio : snprintf.c
Log message:
Fix bug #19280: snprintf(s,0,fmt,...) write to foreign memory: s[-1]:
Add check of 'f.size >= 0' before writing of terminating zero. Use f.len
as number of output symbols. Remove include of "stdio_private.h" as
noused (after moving FILE decl.).
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/avr-libc/libc/stdio/snprintf.c?cvsroot=avr-libc&only_with_tag=avr-libc-1_4-branch&r1=1.1&r2=1.1.8.1
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [avr-libc-commit] avr-libc/libc/stdio snprintf.c [avr-libc-1_4-branch],
Dmitry Xmelkov <=