1
0
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:
Rosen Penev 2017-03-04 19:11:28 -08:00
parent df3c2e712e
commit bbdaf647f3
No known key found for this signature in database
GPG Key ID: 8B5A63249D3D4CE7

View File

@ -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))