mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Change the garbage value to 0xdb
If that garbage value becomes the LSB of a pointer, the pointer is more likely to be unaligned, an trigger more bugs.
This commit is contained in:
@@ -33,7 +33,7 @@
|
||||
#endif
|
||||
|
||||
#define CANARY_SIZE 16U
|
||||
#define GARBAGE_VALUE 0xd0
|
||||
#define GARBAGE_VALUE 0xdb
|
||||
|
||||
#ifndef MAP_NOCORE
|
||||
# define MAP_NOCORE 0
|
||||
|
||||
Reference in New Issue
Block a user