If you are on one through ticket, code share, etc., you should be OK
You should be on the secure side, no customs, immigration, baggage issues. You are just connecting in an international airport.
All bets are off if these are separate tickets. Then none of this applies and you will miss the connection.