提交 f0328a56 编写于 作者: R Rich Felker

fix invalid %m format crash in wide scanf variants

the wide variant was missed in the previous commit.
上级 cbb8a697
......@@ -143,6 +143,8 @@ int vfwscanf(FILE *restrict f, const wchar_t *restrict fmt, va_list ap)
}
if (*p=='m') {
wcs = 0;
s = 0;
alloc = !!dest;
p++;
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册