Hacker News new | ask | show | jobs
by nwallin 1073 days ago
Oh. Found it. It's because I wasn't using strlen and had been passing over the length of the buffer instead of the length of the string. Only my code had the off by 1.