[fpc-devel] SetString difference between Ansistring and UnicodeString

Thaddy thaddy at thaddy.com
Wed Oct 7 13:22:00 CEST 2009


About the naughty naughts:
This is also the cause of many problems and the main cause of the ssl 
certificate hack:
"www.paypal.com\0filtyhacker.cr"
see ASN.1 and X509. PASCAL strings (with length before string) are for 
good reason part of many a specification... C strings are convienient, 
but many times declassified for real life work.
Only because of that it is important the real specs should be adhered 
to. (If only because it means PASCAL and derivatives have a real and 
mayor contribution to real life in programming ;) )



More information about the fpc-devel mailing list