We cover 3 trips from Montreal. 9 ways to fly in all. The quickest trip is to Jeddah: about 14h 20m–17h 50m. On 2 of the 3 trips the shortest way has no mapped crossing of a warning area.
Montreal to Addis Ababa
3 ways · shortest about 16h 10m–19h 40m
Montreal to Jeddah
3 ways · shortest about 14h 20m–17h 50m
Montreal to Nairobi
3 ways · shortest about 17h 40m–21h 10m
Not a safety rating. Your airline decides the path.