fix(hstr): avoid references to uninitialized bytes (#12087)