mirror of
https://github.com/radareorg/radare2.git
synced 2025-02-03 20:22:38 +00:00
Fix SHA digest alignment issues found by UBSAN (#11596)
This commit is contained in:
parent
e405e8b66b
commit
185d8dce37
@ -171,8 +171,8 @@ struct r_hash_t {
|
||||
R_SHA384_CTX sha384;
|
||||
R_SHA512_CTX sha512;
|
||||
bool rst;
|
||||
ut8 digest[128];
|
||||
double entropy;
|
||||
ut8 R_ALIGNED(8) digest[128];
|
||||
};
|
||||
|
||||
typedef struct r_hash_seed_t {
|
||||
|
Loading…
x
Reference in New Issue
Block a user