mirror of
https://github.com/espressif/openthread.git
synced 2026-08-06 02:37:47 +00:00
[error] force error checking (#4784)
This commit is contained in:
@@ -56,10 +56,10 @@ extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
|
||||
instance = otInstanceInitSingle();
|
||||
otCliUartInit(instance);
|
||||
otLinkSetPanId(instance, panId);
|
||||
otIp6SetEnabled(instance, true);
|
||||
otThreadSetEnabled(instance, true);
|
||||
otThreadBecomeLeader(instance);
|
||||
IgnoreError(otLinkSetPanId(instance, panId));
|
||||
IgnoreError(otIp6SetEnabled(instance, true));
|
||||
IgnoreError(otThreadSetEnabled(instance, true));
|
||||
IgnoreError(otThreadBecomeLeader(instance));
|
||||
|
||||
buf = static_cast<uint8_t *>(malloc(size));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user