11 ms·
What do you mean by that last sentence?
by marvy 11y ago
What do you mean by that last sentence?
- pjc50 11y agoRoughly the distinction Java makes between String and StringBuffer. I observed that buffer overflows require a buffer: if you do all your IO a character at a time, this is less risky. For security you need not "string first char + length of string" but "string first char + length of allocated region into which it is safe to write", which (unlike the length of the string) cannot be inferred from the string head pointer in any way.
- marvy 11y agothanks