Skip to content
  • David Gobbi's avatar
    Remove component size limit for version comparisons · aa86e8dd
    David Gobbi authored and Brad King's avatar Brad King committed
    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.
    aa86e8dd