Skip to content
Commit b2b81639 authored by Matt Caswell's avatar Matt Caswell
Browse files

Fix memset call in stack.c



The function sk_zero is supposed to zero the elements held within a stack.
It uses memset to do this. However it calculates the size of each element
as being sizeof(char **) instead of sizeof(char *). This probably doesn't
make much practical difference in most cases, but isn't a portable
assumption.

Reviewed-by: default avatarRichard Levitte <levitte@openssl.org>
(cherry picked from commit 7132ac83)
parent 56490fc2
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment