Skip to content
Snippets Groups Projects
Commit 4fc230a7 authored by Craig Tiller's avatar Craig Tiller Committed by GitHub
Browse files

Merge pull request #10399 from ipylypiv/fix_tsi_security

Fix duplicated NULL pointer check
parents bd210c0b b7de717b
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ tsi_result tsi_frame_protector_protect_flush(
tsi_frame_protector *self, unsigned char *protected_output_frames,
size_t *protected_output_frames_size, size_t *still_pending_size) {
if (self == NULL || protected_output_frames == NULL ||
protected_output_frames == NULL || still_pending_size == NULL) {
protected_output_frames_size == NULL || still_pending_size == NULL) {
return TSI_INVALID_ARGUMENT;
}
return self->vtable->protect_flush(self, protected_output_frames,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment