You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current implementation is wrong: it's valid to pass a buffer smaller than MB_CUR_MAX to wctomb. The only thing we can do is check that the return value of wctomb is smaller than the size of the buffer.
The current implementation is wrong: it's valid to pass a buffer smaller than
MB_CUR_MAXtowctomb. The only thing we can do is check that the return value ofwctombis smaller than the size of the buffer.