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

Fix unchecked return value in cmessagemodule

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • 3.7
    • 3.7
    • None
    • None

    Description

      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);
      

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: