From b7d53ba2684e0b3a97dc6d8c1df3941f7007b4ac Mon Sep 17 00:00:00 2001 From: Adam Langley Date: Mon, 6 Feb 2017 09:37:05 -0800 Subject: [PATCH] =?UTF-8?q?Add=20=E2=80=9Cconst=E2=80=9D=20to=20|SSL=5FSES?= =?UTF-8?q?SION|=20fuzzer.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (Found by UBSAN.) Change-Id: Ia11d5edc3c6dd7ac9a05a181ed649a4da2f278b8 --- fuzz/session.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fuzz/session.cc b/fuzz/session.cc index eb1f03ca..74ece4d9 100644 --- a/fuzz/session.cc +++ b/fuzz/session.cc @@ -17,7 +17,7 @@ #include #include -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 session(SSL_SESSION_from_bytes(buf, len));