The 2006 Underhanded C Contest Begins 232
Xcott Craver writes "The second annual Underhanded C Code Contest is live as of April 4th, and runs until July 4th. The object is to write malicious C code that looks perfectly readable and innocent under informal inspection of the source."
I Win (Score:5, Funny)
In this contest you must write code that is as readable, clear, innocent and straightforward as possible, and yet it must fail to perform at its apparent function. To be more specific, it should do something subtly evil.
system("c:\Program Files\Internet Explorer\iexplore.exe");Where's my prize?
--
"Man Bites Dog
Then Bites Self"
Re:I'll submit the source code for... (Score:1, Funny)
void main(){
install(WindowsME);
return(0);
}
Re:Can someone explain this to me? (Score:3, Funny)
IOW, it helps folks learn to spot these 'bugs' more readily.
I know... (Score:5, Funny)
And then I'll get sued by Sony for copyright infringement.
Re:I Win (Score:2, Funny)
Where's my prize?
I don't think you read the task description very good, it said:
"it should do something subtly evil"
Re:I'll submit the source code for... (Score:2, Funny)
Oh darn, it's not written in C.
Hey Windows XP and Vista are great examples of how powerful and fast VB.NET is!
You cant write as robust of a Operating system in Python or Ruby!
Re:Can someone explain this to me? (Score:5, Funny)
Um, I think your signature should be number three:
:)
Re:Can someone explain this to me? (Score:5, Funny)
Re:I Win (Score:4, Funny)
Read the conditions of the contest clearly. You obviously lose.
Re:Can someone explain this to me? (Score:3, Funny)
My entry! (Score:4, Funny)
main() {
printf("hello, world\n");
}
My entry -- the world's last C bug (Score:5, Funny)
An oldie but goodie . . .
while (1){
status = GetRadarInfo();
if (status = 1)
LaunchMissiles();
}
Re:Can someone explain this to me? (Score:4, Funny)
This has been the crackpot conspiracy theory of the day.
(Why yes, I'm bored! Why do you ask?)
Re:My entry -- the world's last C bug (Score:4, Funny)
Re:Compiler says (Score:3, Funny)