Weird question of the day
-
It could be a useful teaching aid. Maybe the guy has to show people how not to do, and the effects of memory leaks.
I wanna be a eunuchs developer! Pass me a bread knife!
-
Doesn't seem a black hat request... I mean, if he was trying to cause an exploitable buffer overflow, that'd be a serious red flag. Not much you can really do with a memory leak though. My best guess would be that he found a program that detects memory leaks, and is trying to test out how well it works.
Proud to have finally moved to the A-Ark. Which one are you in?
Author of the Guardians Saga (Sci-Fi/Fantasy novels) -
We were recently trying out some crash reporting stuff in one of our applications - and I got a "telling off" by my boss that he couldn't get my application to crash so he could test things! Sure, I could put in a
void CMyApp::OnHelpDieHorribly ()
{
int i = 7;
i /= 0;
}but a) it would then be a different app, and b) probably get optimised away! Iain.
I have now moved to Sweden for love (awwww).
-
It could be a useful teaching aid. Maybe the guy has to show people how not to do, and the effects of memory leaks.
I wanna be a eunuchs developer! Pass me a bread knife!
I actually did this with a junior I was mentoring to demonstrate why vigilance in this area is important within unmanaged code, but I wouldn't be using any project that would potentially get out into a production environment for this.
-
I do like the linux X11 solution. We found if we just use some XML, poorly written Schemas, and treat things that make perfect sense as objects in C# as datasets we will have a few dozen leaks in a matter of minutes.
If I have accidentally said something witty, smart, or correct, it is purely by mistake and I apologize for it.
-
So true the bit about X11, ah good times, good times...
¡El diablo está en mis pantalones! ¡Mire, mire! SELECT * FROM User WHERE Clue > 0 0 rows returned Save an Orange - Use the VCF! Personal 3D projects Just Say No to Web 2 Point Blow