Skip to content

SW: Wrap index to sintable with NORM_ANGLE() in PlayerOnLadder() to prevent overflow.

sirlemonhead requested to merge sirlemonhead/eduke32:voidsw-onladderfix into master

Within function PlayerOnLadder(), ASAN reported that sintable[] was being index with a value of 2048, overflowing the array.

Wrap this with NORM_ANGLE() to keep it within rage of the array size.

Merge request reports

Loading