mirror of
https://github.com/espressif/openthread.git
synced 2026-09-02 23:30:07 +00:00
[fuzz] fix bounds checking in cli-fuzzer (#11991)
This commit is contained in:
+1
-1
@@ -83,7 +83,7 @@ static int CliOutput(void *aContext, const char *aFormat, va_list aArguments)
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)
|
||||
{
|
||||
const uint16_t kMaxCommandSize = 65536;
|
||||
const uint16_t kMaxCommandSize = 4096;
|
||||
|
||||
FuzzDataProvider fdp(data, size);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user