Fix out-of-bounds write

In the (unlikely, if not impossible) case that that read returns 256
characters, we'll still be overwriting one stack byte, which is Wrong(tm).

CID#1193183
Add missing return

CID#1193182