Splits and pending orders

What happens to pending orders if the security has a split or reverse split?