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

Coverity analysis defect 114011: Missing varargs init or cleanup

    • Type: Icon: Bug Bug
    • Resolution: Duplicate
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • 2
    • Storage Engines 2020-01-13

      Incorrect usage of variable argument macros; use va_start or va_copy to begin processing and va_end to finish

      Defect 114011 (STATIC_C)
      Checker VARARGS (subcategory none)
      File: /src/cursor/cur_join.c
      Function __curjoin_get_key
      /src/cursor/cur_join.c, line: 681
      Initializing va_list "ap".

              va_start(ap, cursor);
      

      /src/cursor/cur_join.c, line: 682
      va_end was not called for "ap".

              JOINABLE_CURSOR_API_CALL(cursor, session, get_key, NULL);
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            xgen-internal-coverity Coverity Collector User
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: