Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2062

Check for corrupted OP_REPLY message header

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.3.0
    • Affects Version/s: None
    • Component/s: Connection Management
    • None

      When reading a message from the server, check for various ways the OP_REPLY message header may be corrupted and throw MongoInternalException if any are found:

      • message length < reply header length
      • message length > max message length
      • num documents returned < 0
      • message length - reply header length < num documents returned * minimum BSON document length

            Assignee:
            jeff.yemin@mongodb.com Jeffrey Yemin
            Reporter:
            rathi.gnanasekaran Rathi Gnanasekaran
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: