fix out-of-bounds access in SNI