When calling ReshapeWindow, aspect ratio is determined by dividing the new width by the new height. We could prevent a potential crash here by validating these numbers before performing the division, which has been reported to cause a division by zero when using the editor over VPN in some circumstances.
There's no existing public thread on this issue, so head over to Questions & Answers just mention UE-47058 in the post.