diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2013-10-21 10:41:15 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2013-10-21 10:41:15 -0600 |
commit | cc8ddac14c27f5d6f64c1947bb4042dd00be0e2c (patch) | |
tree | 553efdf3a07ae107f0169ac59ee6246691fe6dc2 /nuttx/ChangeLog | |
parent | 4ca39e19c87c9c97c834f148182a000ee3b3b41b (diff) | |
download | nuttx-cc8ddac14c27f5d6f64c1947bb4042dd00be0e2c.tar.gz nuttx-cc8ddac14c27f5d6f64c1947bb4042dd00be0e2c.tar.bz2 nuttx-cc8ddac14c27f5d6f64c1947bb4042dd00be0e2c.zip |
scanf() fixes from kfrolov: 1) sscanf() function hangs in the following example: sscanf(2, %u,%u,%u,%u, ...), 2) sscanf() returns incorrect number of parsed numbers if some arguments can't be parsed: sscanf(=2, %u,%u,%u,%u,...)==1 instead of 0, and 3) using of char* instead of const char* in vsscanf function leads to warnings from GCC.
Diffstat (limited to 'nuttx/ChangeLog')
-rw-r--r-- | nuttx/ChangeLog | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/nuttx/ChangeLog b/nuttx/ChangeLog index 663a2be10..9096caeaa 100644 --- a/nuttx/ChangeLog +++ b/nuttx/ChangeLog @@ -5833,4 +5833,9 @@ by default in the demo configuration (2013-10-20). * arch/arm/src/sama5/chip/sam_tc.h: SAMA5D3 timer/counter register definition header file (2013-10-20). - + * libc/stdio/lib_sscanf.c: scanf() fixes from kfrolov: 1) sscanf() + function hangs in the following example: sscanf("2", "%u,%u,%u,%u", ...), + 2) sscanf() returns incorrect number of parsed numbers if some arguments + can't be parsed: sscanf("=2", "%u,%u,%u,%u",...)==1 instead of 0, and + 3) using of char* instead of const char* in vsscanf function leads to + warnings from GCC (2013-10-21). |