rs wasn't a null-terminated string