Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-1599

Fix unchecked return value in cmessagemodule

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.7
    • Affects Version/s: 3.7
    • Component/s: None
    • Labels:
      None

      Found by Coverity:

      1192    /* Save space for size */
          	
      CID 103642 (#2 of 2): Unchecked return value (CHECKED_RETURN)
      17. check_return: Calling buffer_save_space without checking return value (as is done elsewhere 11 out of 13 times).
      1193    size_location = buffer_save_space(buffer, 4);
      

            Assignee:
            shane.harvey@mongodb.com Shane Harvey
            Reporter:
            shane.harvey@mongodb.com Shane Harvey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: