Reply to post: Re: A long time ago on an OS far away

Sysadmin's three-line 'annoyance-buster' busts painstakingly crafted, crucial policy

A.P. Veening Silver badge

Re: A long time ago on an OS far away

"Er, no. The moral of this story is that user input should *ALWAYS*, no exceptions, be checked, starting with how long it is."

Wrong, you should start with checking whether it is there at all, length is secondary to that (unless you equate it not being there with a zero length, which I don't, zero length can be acceptable).

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