mirror of
https://gitee.com/openharmony/communication_dsoftbus
synced 2024-11-23 08:49:59 +00:00
update tests/sdk/transmission/fuzztest/rawstreamdata_fuzzer/rawstreamdata_fuzzer.cpp.
Signed-off-by: xy420 <chenxianyang@hust.edu.cn>
This commit is contained in:
parent
463094a5f3
commit
24662d3e7b
@ -43,7 +43,7 @@ namespace OHOS {
|
||||
char *ext = new char[Communication::SoftBus::MAX_STREAM_LEN + 1];
|
||||
if (ext == nullptr) {
|
||||
delete []buf;
|
||||
ext = nullptr;
|
||||
buf = nullptr;
|
||||
return;
|
||||
}
|
||||
std::unique_ptr<char[]> inputext (ext);
|
||||
|
Loading…
Reference in New Issue
Block a user