diff options
author | Connor Abbott <[email protected]> | 2017-01-14 18:08:11 -0500 |
---|---|---|
committer | Connor Abbott <[email protected]> | 2017-01-14 18:18:17 -0500 |
commit | c9b74f3f0306a3305ad62644a7c7ef1e4a3f19f1 (patch) | |
tree | 9ba956776cec33f32e037852be1e630f400a8070 /m4 | |
parent | bf8e1f9e7b26acecab1fc63a526ce3d10eae4c61 (diff) |
nir/gcm: fix a bug with metadata handling
We were using impl->num_blocks, but that isn't guaranteed to be
up-to-date until after the block_index metadata is required. If we were
unlucky, this could lead to overwriting memory.
Noticed by inspection.
Signed-off-by: Connor Abbott <[email protected]>
Reviewed-by: Jason Ekstrand <[email protected]>
Diffstat (limited to 'm4')
0 files changed, 0 insertions, 0 deletions