[tor-commits] [tor/master] Check return value of buf_move_to_buf for error.