Reply to post: Re: Failure the Unix way...

Dear hackers, Ubuntu's app crash reporter will happily execute your evil code on a victim's box

Christian Berger

Re: Failure the Unix way...

Well one thing is true, on Unix you move those checks to the domain specific parts at the edges. So in so core of your program you don't have such checks.

However on Unix you also try to have simple formats. Formats that are simple enough they can be parsed with only very few lines of code. If you need more complex structures you try to use multiple files aranged in directories. Inside of a file you only have line based text separated with field separators. Inside the core, where nothing is problem oriented, you only deal with lines and fields.

POST COMMENT House rules

Not a member of The Register? Create a new account here.

  • Enter your comment

  • Add an icon

Anonymous cowards cannot choose their icon