Add “const” to |SSL_SESSION| fuzzer.
(Found by UBSAN.) Change-Id: Ia11d5edc3c6dd7ac9a05a181ed649a4da2f278b8
This commit is contained in:
parent
58966a455f
commit
b7d53ba268
@ -17,7 +17,7 @@
|
||||
#include <openssl/mem.h>
|
||||
#include <openssl/ssl.h>
|
||||
|
||||
extern "C" int LLVMFuzzerTestOneInput(uint8_t *buf, size_t len) {
|
||||
extern "C" int LLVMFuzzerTestOneInput(const uint8_t *buf, size_t len) {
|
||||
// Parse in our session.
|
||||
bssl::UniquePtr<SSL_SESSION> session(SSL_SESSION_from_bytes(buf, len));
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user