Merge pull request #314 from DavidKorczynski/v1.4

Added fuzzer for oss-fuzz integration.
pull/320/head
Michael Zillgith 5 years ago committed by GitHub
commit 5b0db88aa1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -0,0 +1,15 @@
#include <stdio.h>
#include <stdlib.h>
#include "iec61850_server.h"
#include "hal_thread.h"
int LLVMFuzzerTestOneInput(const char *data, size_t size) {
int out;
MmsValue* value = NULL;
value = MmsValue_decodeMmsData(data, 0, size, &out);
if (value != NULL) {
free(value);
}
return 0;
}
Loading…
Cancel
Save