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

Coverity 1345809: unchecked return value

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: WT2.8.0
    • Component/s: None
    • Labels:
      None

      Description

      wtperf/wtperf.h

      337static inline void
      338extract_key(char *key_buf, uint64_t *keynop)
      339{
         	
      CID 1345809 (#1 of 1): Unchecked return value (CHECKED_RETURN)
      1. check_return: Calling sscanf without checking return value (as is done elsewhere 4 out of 5 times).
      340        sscanf(key_buf, "%" SCNu64, keynop);
      341}
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                keith.bostic Keith Bostic
                Reporter:
                keith.bostic Keith Bostic
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: