Details
-
Bug
-
Resolution: Done
-
Major - P3
-
None
-
Fully Compatible
-
ALL
-
Platform B (10/30/15)
Description
It is undefined behavior to pass nullptr for either pointer argument to memcmp, however, StringData::compare does not guard against this. A default constructed StringData, for instance, has a nullptr _data member.