, undefined.
, , , .
(, , ..), , .
my authenticated ebp-12, ebp-28. ebp-28 strcmp, , authenticated.
: "1234567890123456000000000000" segfault .
:
gcc -fno-stack-protector -z execstack -g -S test.c
test.s, , .
, - (objdump ida pro), , ; -).
: :
, :
movl %gs:20, %eax
[...]
movl -12(%ebp), %edx
xorl %gs:20, %edx
je .L5
call __stack_chk_fail
__stack_chk_fail, -12 (% ebp) % gs: 20 (, ).
, , , "" , .