Hunting for stack smashing bug