mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-22 14:23:10 -05:00
aa86e8ddfd
The VersionCompare() function converted version components to 'unsigned long' prior to comparing them. Any version components too large for 'unsigned long' were treated as equal to ULONG_MAX. This impacted operators like VERSION_GREATER, VERSION_LESS, and VERSION_EQUAL. The new code does not limit the length of the version components for valid comparisons.
6.4 KiB
6.4 KiB