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 text was updated successfully, but these errors were encountered:
The current implementation is wrong: it's valid to pass a buffer smaller than
MB_CUR_MAX
towctomb
. The only thing we can do is check that the return value ofwctomb
is smaller than the size of the buffer.The text was updated successfully, but these errors were encountered: