Looks like a classic buffer overrun issue, in this case likely a mismatch between a cstring and a vec in formatting.