Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-72965

Coverity analysis defect 134234: Unsigned compared against 0

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Duplicate
    • None
    • None
    • None
    • Security
    • ALL
    • Security 2023-02-06

    Description

      Unsigned compared against 0

      An unsigned value can never be negative, so this test will always evaluate the same way. An unsigned value can never be less than 0
      /src/third_party/libmongocrypt/dist/src/mc-range-encoding.c:233: NO_EFFECT 134234 This less-than-zero comparison of an unsigned value is never true. "args.precision.value < 0U".

      Attachments

        Issue Links

          Activity

            People

              shreyas.kalyan@mongodb.com Shreyas Kalyan
              xgen-internal-coverity Coverity Collector User
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: