I *think* this might be related to our use of things like `strndup` but I'm not sure. This needs more investigation.