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