[SERVER-11520] Large customData field asserts, without nice error message Created: 01/Nov/13 Updated: 10/Dec/14 Resolved: 04/Nov/13 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | Security |
| Affects Version/s: | 2.5.4 |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Samantha Ritter (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | 26qa | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Environment: |
mac os x |
||
| Attachments: |
|
||||||||||||
| Issue Links: |
|
||||||||||||
| Operating System: | ALL | ||||||||||||
| Participants: | |||||||||||||
| Description |
|
use createUser command or updateUser command with a very large (>16mb) custom data field. Expect graceful failure, instead hit assertion and get scary-looking dump: 2013-11-01T10:45:37.369-0400 Assertion: 10334:BSONObj size: 20002895 (0x131384F) is invalid. Size must be between 0 and 16793600(16MB) First element: field0: "jXbNJTuQfmTyfBkIGnq3VkG-Vg.PGBAK7v1-syu5ZarK5WSo9iNK56TbjROhaJGGnq543O4ELaXnkmHs4zT2L24hz0P.xqLNFolL8bpDdacPaxA6pyUTQnBg3-ECs7Fr6My1GwLINfIOn1AQYfD8zo..." |
| Comments |
| Comment by Daniel Pasette (Inactive) [ 04/Nov/13 ] |
|
duplicates |
| Comment by Scott Hernandez (Inactive) [ 01/Nov/13 ] |
|
I think this is just |
| Comment by Samantha Ritter (Inactive) [ 01/Nov/13 ] |
|
use to reproduce error |
| Comment by Spencer Brody (Inactive) [ 01/Nov/13 ] |
|
Can you attach a script to reproduce? |
| Comment by Samantha Ritter (Inactive) [ 01/Nov/13 ] |
|
my mistake! Sorry. |
| Comment by Scott Hernandez (Inactive) [ 01/Nov/13 ] |
|
no |
| Comment by Andy Schwerin [ 01/Nov/13 ] |
|
Is this actually crashing the server? |