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

Coverity analysis defect 134234: Unsigned compared against 0

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
    • Server Security
    • ALL
    • Security 2023-02-06

      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".

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

              Created:
              Updated:
              Resolved: