We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 713b98b commit aa22913Copy full SHA for aa22913
boot/bootutil/include/bootutil/crypto/aes_ctr.h
@@ -58,7 +58,7 @@ void bootutil_aes_ctr_init(bootutil_aes_ctr_context *ctx);
58
59
static inline void bootutil_aes_ctr_drop(bootutil_aes_ctr_context *ctx)
60
{
61
- memset(ctx, 0, sizeof(ctx));
+ memset(ctx, 0, sizeof(*ctx));
62
}
63
64
static inline int bootutil_aes_ctr_set_key(bootutil_aes_ctr_context *ctx, const uint8_t *k)
0 commit comments