[SERVER-7353] Assertion 10307 (bad object when --objcheck enabled) should display more information Created: 14/Oct/12  Updated: 06/Dec/22

Status: Open
Project: Core Server
Component/s: Diagnostics
Affects Version/s: 2.2.0
Fix Version/s: features we're not sure of

Type: Improvement Priority: Minor - P4
Reporter: Ben Becker Assignee: Backlog - Security Team
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Server Security
Participants:

 Description   

Currently, the check is simply:

  204              if ( cmdLine.objcheck && !js.valid() ) {
  205:                 massert( 10307 , "Client Error: bad object in message", false);
  206              }

It would be helpful if we could display more information, like a truncated buffer, perhaps in hex+ascii, as well as any length and type information for each BSONElement.


Generated at Thu Feb 08 03:14:17 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.