Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-69750

Possible overflow in QDeadlineTimer if deadline is specified in milliseconds

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P2: Important P2: Important
    • 5.12.4
    • 5.11
    • Core: Other
    • None
    • macOS, Windows
    • c6bee8e4b2c48775247c67ef8e7569f623655c61

      On Windows and MacOS the deadline timer keeps the timestamp in nanoseconds, so if the API that takes milliseconds arguments is used with large values, the internal integers can overflow leading to unexpected results.

      Related change for the Linux problem (and discussion):
      https://codereview.qt-project.org/#/c/235717/

        For Gerrit Dashboard: QTBUG-69750
        # Subject Branch Project Status CR V

            kshegunov Konstantin Shegunov
            kshegunov Konstantin Shegunov
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes