mirror of
https://github.com/hashcat/hashcat.git
synced 2024-11-23 00:28:11 +00:00
Add _FORTIFY_SOURCE to check for overflows
This commit is contained in:
parent
df3c2e712e
commit
bbdaf647f3
@ -30,6 +30,10 @@
|
|||||||
#define _FILE_OFFSET_BITS 64
|
#define _FILE_OFFSET_BITS 64
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#ifndef _FORTIFY_SOURCE
|
||||||
|
#define _FORTIFY_SOURCE 2
|
||||||
|
#endif
|
||||||
|
|
||||||
#define NOMINMAX 1
|
#define NOMINMAX 1
|
||||||
|
|
||||||
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
|
#define MIN(a,b) (((a) < (b)) ? (a) : (b))
|
||||||
|
Loading…
Reference in New Issue
Block a user