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

Coverity analysis defect 134234: Unsigned compared against 0

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Server 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

        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: