An officer arrests a driver for DUI, handcuffs him, and secures him in the patrol car.The officer then searches the passenger compartment of the driver's car and finds a gun.Under Arizona v.Gant, the search is: