Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-13858

Add early return from file open in live restore

    • Storage Engines
    • 3
    • StorEng - 2024-12-24

      Argument cannot be negative

      The negative argument will be interpreted as a very large unsigned value. Negative value used as argument to a function expecting a positive value (for example, size of buffer or allocation)
      /src/live_restore/live_restore_fs.c:765: NEGATIVE_RETURNS 163858 Variable "fd" tests negative.
      /src/live_restore/live_restore_fs.c:802: NEGATIVE_RETURNS 163858 "fd" is passed to a parameter that cannot be negative.

            Assignee:
            sean.watt@mongodb.com Sean Watt
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: