LWN.net Logo

LCA: Lessons from 30 years of Sendmail

LCA: Lessons from 30 years of Sendmail

Posted Feb 3, 2011 10:00 UTC (Thu) by Thomas (subscriber, #39963)
In reply to: LCA: Lessons from 30 years of Sendmail by wahern
Parent article: LCA: Lessons from 30 years of Sendmail

"For example, you could treat a password as a sub-type of string. But strings as commonly understood almost universally support the concept of truncation. But if you truncate a password horrible security repercussions result. So why would you want to treat it like a string at all?"

You got it the wrong way round. Strings [a concatenation of bytes] can support truncation but don't have to.

Cheers,
T.


(Log in to post comments)

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds