diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2010-05-02 11:55:01 +0000 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2010-05-02 11:55:01 +0000 |
commit | ffa42cf6a0aa8835f832027c7545e2476b89b834 (patch) | |
tree | d31c67e411c2e62198836716809ec3560fcbff75 /newlib/ChangeLog | |
parent | be129c26e2144ba97518217d91f1d695e32217a5 (diff) | |
download | cygnal-ffa42cf6a0aa8835f832027c7545e2476b89b834.tar.gz cygnal-ffa42cf6a0aa8835f832027c7545e2476b89b834.tar.bz2 cygnal-ffa42cf6a0aa8835f832027c7545e2476b89b834.zip |
* libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename
pwc to pmb and convert to array to avoid buffer overflow. Rename c to
wc. Check wc for WEOF instead of for EOF. Return first byte of pmb if
__wctomb conversion returned exactly one byte, EOF otherwise.
Diffstat (limited to 'newlib/ChangeLog')
-rw-r--r-- | newlib/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog index 7d60fcce3..c3e6662d7 100644 --- a/newlib/ChangeLog +++ b/newlib/ChangeLog @@ -1,3 +1,10 @@ +2010-05-02 Corinna Vinschen <corinna@vinschen.de> + + * libc/stdlib/wctob.c (wctob): Reorganize and fix WEOF check. Rename + pwc to pmb and convert to array to avoid buffer overflow. Rename c to + wc. Check wc for WEOF instead of for EOF. Return first byte of pmb if + __wctomb conversion returned exactly one byte, EOF otherwise. + 2010-04-30 Corinna Vinschen <corinna@vinschen.de> * libc/include/langinfo.h: Fix #endif positioning. |