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

Coverity 1345809: unchecked return value

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Minor - P4 Minor - P4
    • WT2.8.0
    • Affects Version/s: None
    • Component/s: None
    • None

      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}
      

            Assignee:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Reporter:
            keith.bostic@mongodb.com Keith Bostic (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: