ketmar wrote:

p.s.: btw, druntime tries to avoid that edge case by not checking for trailing out-of-bounds zero if string ends exactly on dword boundary. it will miss some strings this way, but otherwise it is perfectly safe.

oops. not druntime, phobos, in `std.string.toStringz()`.

Reply via email to