Closed Bug 1523738 Opened 7 months ago Closed 7 months ago

Comparing a Version with < or > gives an incorrect answer in some cases.

Categories

(Core :: XPCOM, enhancement)

enhancement
Not set

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: mossop, Assigned: mossop)

Details

Attachments

(1 file)

The Version struct makes the assumption that CompareVersions only ever returns -1, 0 or 1. It actually can returns any value.

Pushed by dtownsend@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/4fd4dab100c6
Fix Version comparison functions. r=mconley
Status: NEW → RESOLVED
Closed: 7 months ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.