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

Coverity analysis defect 114078: Unchecked return value from library

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • WT10.0.0, 4.4.0-rc0, 4.7.0
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • 2
    • Storage Engines 2020-03-09, Storage Engines 2020-03-23

      Value returned from a library function is not checked for errors before being used. This value may indicate an error condition.

      Defect 114078 (STATIC_C)
      Checker CHECKED_RETURN (subcategory library_function)
      File: /test/csuite/incr_backup/main.c
      Function active_files_remove_missing
      /test/csuite/incr_backup/main.c, line: 298
      Calling "remove(filename)" without checking return value. This library function may fail and return an error code.

                      remove(filename);
      

            Assignee:
            keith.smith@mongodb.com Keith Smith
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: