Skip to content

Fix infinite loop in GetShift

dslater38 requested to merge dslater38/xserver:patch-1 into master

GetShift(mask) can be called with mask==0, leading to an infinite loop. Added a check for mask != 0 before entering the while loop.

Merge request reports

Loading