Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix null pointer passed to non-null argument in CHIPMemString.h
when PI= is in mDNS TXT record (its value is empty) , and Dnssd::Internal::GetPairingInstruction calls CopyString, source is an empty bytespan and source.data() will return a null pointer, that will be passed to memcpy Fix: avoid memcpy in that case.
- Loading branch information