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