App - System

Thursday 28 June 2018, 14:50  #1
ELF32 - Format string bug basic 1
am0123
  • 5 posts

Hello
Using gdb, I found the address of buff. But when I printed it using %s, I got an unreadable message.
After redirecting the output to hexdump, and it looks like buff is pointing to an array of pointers.
Each pointer point to an environment variable !!

After see that problem, I wander if the buff location change when the program is executed use gdb or directly ?

Sunday 8 July 2018, 11:09  #2
ELF32 - Format string bug basic 1
am0123
  • 5 posts

I resolved the problem ....
Please delete this post !