Disabling Stack Smashing Protection in Ubuntu 11.04

前端 未结 2 1247
渐次进展
渐次进展 2021-01-15 03:46

I\'m running 32-bit Ubuntu 11.04 on a 2007 MacBook, and I\'m just starting to learn about buffer overflow exploits. I\'m trying to run the example programs from a book, but

2条回答
  •  渐次进展
    2021-01-15 04:17

    Are you sure you're passing -fno-stack-protector to the right gcc invocation? The given code doesn't appear to have a buffer overflow.

提交回复
热议问题