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
In playing with undefined behavior sanitizer I learned that it is undefined behavior to pass a nullptr to std::memcpy even if the count/size argument is 0, see https://en.cppreference.com/w/cpp/string/byte/memcpy.
Do we want to allow users to pass nullptr to camp::resources::Host::memcpy with a count/size of 0?
The text was updated successfully, but these errors were encountered:
In playing with undefined behavior sanitizer I learned that it is undefined behavior to pass a nullptr to std::memcpy even if the count/size argument is 0, see https://en.cppreference.com/w/cpp/string/byte/memcpy.
Do we want to allow users to pass nullptr to camp::resources::Host::memcpy with a count/size of 0?
The text was updated successfully, but these errors were encountered: