Thanks for reporting that. Plus, there's a related bug in the use of safe_read. I fixed them both with the attached patch.