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
Michael Telatynski
Olm
Commits
3091dc2b
Commit
3091dc2b
authored
Oct 20, 2016
by
Mark Haines
Browse files
Add NULL check for message_index pointer
parent
653790ea
Changes
1
Show whitespace changes
Inline
Side-by-side
src/inbound_group_session.c
View file @
3091dc2b
...
...
@@ -287,7 +287,9 @@ static size_t _decrypt(
return
(
size_t
)
-
1
;
}
if
(
message_index
!=
NULL
)
{
*
message_index
=
decoded_results
.
message_index
;
}
/* verify the signature. We could do this before decoding the message, but
* we allow for the possibility of future protocol versions which use a
...
...
Write
Preview
Supports
Markdown
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