Fixed buffer overrun (read only, usually harmless, but sloppy nonetheless).
This commit is contained in:
parent
298ce6530e
commit
93185df1e7
4 changed files with 4 additions and 4 deletions
|
|
@ -53,7 +53,7 @@ br_aes_ct64_ctr_run(const br_aes_ct64_ctr_keys *ctx,
|
|||
{
|
||||
unsigned char *buf;
|
||||
uint32_t ivw[16];
|
||||
uint64_t sk_exp[240];
|
||||
uint64_t sk_exp[120];
|
||||
|
||||
br_aes_ct64_skey_expand(sk_exp, ctx->num_rounds, ctx->skey);
|
||||
br_range_dec32le(ivw, 3, iv);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue