summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
baae2cb)
This allows to free everything we allocated, so we can detect memory
leaks.
Reviewed-by: Rich Salz <rsalz@openssl.org>
GH: #2023
13 files changed:
+
+void FuzzerCleanup(void)
+{
+}
(void)ASN1_parse_dump(bio_out, buf, len, 0, 0);
return 0;
}
(void)ASN1_parse_dump(bio_out, buf, len, 0, 0);
return 0;
}
+
+void FuzzerCleanup(void)
+{
+}
+
+void FuzzerCleanup(void)
+{
+}
+
+void FuzzerCleanup(void)
+{
+}
BIO_free(in);
return 0;
}
BIO_free(in);
return 0;
}
+
+void FuzzerCleanup(void)
+{
+}
+
+void FuzzerCleanup(void)
+{
+}
+
+void FuzzerCleanup(void)
+{
+}
+
+void FuzzerCleanup(void)
+{
+}
FuzzerTestOneInput(buf, size);
free(buf);
}
FuzzerTestOneInput(buf, size);
free(buf);
}
int FuzzerTestOneInput(const uint8_t *buf, size_t len);
int FuzzerInitialize(int *argc, char ***argv);
int FuzzerTestOneInput(const uint8_t *buf, size_t len);
int FuzzerInitialize(int *argc, char ***argv);
+void FuzzerCleanup(void);
SSL_free(server);
return 0;
}
SSL_free(server);
return 0;
}
+
+void FuzzerCleanup(void)
+{
+ SSL_CTX_free(ctx);
+}
+
+void FuzzerCleanup(void)
+{
+}