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
Change the result type of to_wide_null to Result<Vec<u16>, NulError>, matching CString::new.
Without this error you get silent truncation when passing data to an API which expects null terminated strings. This can easily result in security holes.
The text was updated successfully, but these errors were encountered:
Change the result type of
to_wide_null
toResult<Vec<u16>, NulError>
, matchingCString::new
.Without this error you get silent truncation when passing data to an API which expects null terminated strings. This can easily result in security holes.
The text was updated successfully, but these errors were encountered: