disable -fstack-protector on android. is it causing false-positives or is really

a stack overflow going on? if so why linux compilation doesn't show the same?
not sure, but it seems to work fine, no crashs without this flag.
This commit is contained in:
Miguel Freitas 2013-10-27 20:12:46 -02:00
parent f119226b8f
commit 5c0cb31f26

View File

@ -63,7 +63,7 @@ endif
# If a stack buffer if overflowed, it writes over the canary number and then on return
# when that number is checked, it won't be the same and the program will exit with
# a "Stack smashing detected" error instead of being exploited.
HARDENING+=-fstack-protector-all -Wstack-protector
#HARDENING+=-fstack-protector-all -Wstack-protector
# Make some important things such as the global offset table read only as soon as
# the dynamic linker is finished building it. This will prevent overwriting of addresses