@iximeow uh? i would have thought that this is about the null-termination trap - since strlen does not count the terminator. you'd have to add a 1 for allocation - for example. length-prefixed strings don't have that ambiguity.
@iximeow i meant a different aspect: on a platform with length prefixes, we would be unlikely to ask this question. but whitequark will know what she's playing at.
@iximeow uh? i would have thought that this is about the null-termination trap - since strlen does not count the terminator. you'd have to add a 1 for allocation - for example. length-prefixed strings don't have that ambiguity.