Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
matrix-org
Olm
Commits
64130c1f
Commit
64130c1f
authored
Oct 24, 2016
by
Richard van der Hoff
Browse files
Fix broken fuzzer compilation
fuzz_group_decrypt.cpp got broken by
653790ea
; fix it up
parent
05b48086
Changes
2
Hide whitespace changes
Inline
Side-by-side
fuzzers/README.rst
View file @
64130c1f
...
...
@@ -45,7 +45,7 @@ Usage notes:
.. code::
./
afl-fuzz -i- -o existing_output_dir [...etc...]
afl-fuzz -i- -o existing_output_dir [...etc...]
8. If it shows failures, pipe the failure case into
``./build/fuzzers/debug_<fuzzing_tool>``, fix, and repeat.
fuzzers/fuzz_group_decrypt.cpp
View file @
64130c1f
...
...
@@ -54,6 +54,8 @@ int main(int argc, const char *argv[]) {
uint8_t
plaintext
[
max_length
];
uint32_t
ratchet_index
;
size_t
length
=
check_error
(
olm_inbound_group_session_last_error
,
session
,
...
...
@@ -61,7 +63,7 @@ int main(int argc, const char *argv[]) {
olm_group_decrypt
(
session
,
message_buffer
,
message_length
,
plaintext
,
max_length
plaintext
,
max_length
,
&
ratchet_index
)
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment