Login Register






Thread Rating:
  • 0 Vote(s) - 0 Average


What NOT to do when coding filter_list
Author
Message
What NOT to do when coding #1
So, take a look at this union....it makes no sense...on top of that, the author of this code is doing some weird shit with the ptr field... when i told him that this is a massive issue, and causes a buffer overflow no matter how he uses it, he didn't get it and kept describing that it's "one way to implement std:Confusedtring"

Have a look for yourselves:
[Image: guArI8z.png]

Notice how my second string has overflowed and is now in the .text segment, pretty close to the executable code for the function main? Pretty cool huh?

He still doesn't understand that this is a bug, and a pretty fucking awesome security vulnerability if you as me, I wish Apple wrote code like this Tongue

[+] 1 user Likes phyrrus9's post
Reply





Messages In This Thread
What NOT to do when coding - by phyrrus9 - 10-21-2017, 10:09 AM
RE: What NOT to do when coding - by Nil - 10-21-2017, 02:17 PM
RE: What NOT to do when coding - by phyrrus9 - 10-21-2017, 02:19 PM
RE: What NOT to do when coding - by Nil - 10-21-2017, 02:32 PM
RE: What NOT to do when coding - by phyrrus9 - 10-21-2017, 02:36 PM
RE: What NOT to do when coding - by Nil - 10-21-2017, 02:56 PM
RE: What NOT to do when coding - by phyrrus9 - 10-21-2017, 02:58 PM



Users browsing this thread: 1 Guest(s)