summaryrefslogtreecommitdiff
path: root/libc/misc/wchar/wchar.c
diff options
context:
space:
mode:
authorMaksim Rayskiy <mrayskiy@broadcom.com>2011-06-16 18:14:01 -0700
committerCarmelo Amoroso <carmelo.amoroso@st.com>2011-06-29 11:34:38 +0200
commit18bf00f3123707f9d1d7a2876121dea1c2c39a89 (patch)
tree398fc70854b76e9e2c932fb23c0272a7e968c339 /libc/misc/wchar/wchar.c
parentc61993f7e0ad3a9014a4b73823faf1ba914f48a0 (diff)
libc: add missing lock initialization in vswprintf
Unlike vsnprintf, vswprintf does not properly initialize locking elements of FILE structure, which in some unfortunate cases can result in lockups in _vfwprintf_internal. Interesting, the initialization code was removed in 2a915734a32c5aec9a6a76c13bcb074d30e64171 at the same time as it was added to vsnprintf. Signed-off-by: Maksim Rayskiy <mrayskiy@broadcom.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Diffstat (limited to 'libc/misc/wchar/wchar.c')
0 files changed, 0 insertions, 0 deletions