News for hackers. Stuff that matters.
Re:Smashing the stack for fun and profit by tptacek on Sunday November 15, 2009 @08:57PM (#943764)
A strange question. Almost every language we use today is "managed", by the Microsoft definition; "Managed C++" is a Microsoft term for bare-metal C++ with extra runtime protections. Of course Java is "managed".
Re:Smashing the stack for fun and profit by jrockway on Sunday November 15, 2009 @09:06PM (#943777)
Yes, "managed C++" is very poorly managed. You can still do things like:

   char foo[42];
   foo[-4] = 0xcafebabe;
and watch your program crash and burn. (Sometimes, though, you get an exception you can catch with try{}/catch{}, instead of an actual segv. It would be hilarious... if only the app I was working on did not use this behavior as part of its string-parsing routine...)
Re:Smashing the stack for fun and profit by tptacek on Sunday November 15, 2009 @09:43PM (#943821)
Managed C++ isn't really designed to bulletproof C++; it's designed to make it possible to field C++ code without allowing attackers to upload their own programs into your program's memory.

Kicking Managed C++ for not being C# is a bit of a cheap shot.

Re:Smashing the stack for fun and profit by jacquesm on Monday November 16, 2009 @03:52AM (#944180)
Why is it a strange question ?