> BTW, this has a segfault in Linux, so it's definitely trying to > overwrite immutable data. Does it also segfault with string buf?