avoid out-of-bounds read for invalid quoted timezone