[#1689] oops. stop reading hash on null byte