diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-12-08 10:40:06 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-12-08 10:40:06 -0600 |
commit | c14f202a2c98fd55c472ac64f98fc049457cf35d (patch) | |
tree | 92a09f80a7bbd9c2160d3c7e6c50d99cd51b0f57 /nuttx/libnx/nxfonts | |
parent | 4e112873b66a66875c2a7c45ab1454467e64f219 (diff) | |
download | px4-nuttx-c14f202a2c98fd55c472ac64f98fc049457cf35d.tar.gz px4-nuttx-c14f202a2c98fd55c472ac64f98fc049457cf35d.tar.bz2 px4-nuttx-c14f202a2c98fd55c472ac64f98fc049457cf35d.zip |
avsprintf(): Fix a bug in usage of va_list on x86. On x86, va_list is a pointer to a single copy on the stack. avsprintf() calls lib_vsprintf() twice and so traverses the va_list twice using va_start. va_start modifies that single copy on the stack so that the second call to lib_vsprintf() fails. This appears to be an issue with x86 only so far
Diffstat (limited to 'nuttx/libnx/nxfonts')
0 files changed, 0 insertions, 0 deletions