[tor-commits] [tor/maint-0.3.5] Fix two other cases of (buf + N > end) pattern