Hacker News new | ask | show | jobs
by msgilligan 4179 days ago
If the lengths are wrong. You said that the function shouldn't assume that strings are null-terminated correctly -- why should it assume that the lengths are correct?