WorldGuard

WorldGuard

8M Downloads

Claiming infinite regions is possible due to integer overflow

LadyCailinBot opened this issue ยท 0 comments

commented

WORLDGUARD-3137 - Reported by MLP

Large selections cause int overflow bug, thereby conditions are bypassed in RegionCommands::claim().
volume() methods in the region classes don't check for int overflow.

a simple solution is https://gist.github.com/MLPDev/4fc830824a796a6b15a4