[SERVER-28074] Overly eager check for .system. in collection names causes error / assertion Created: 22/Feb/17 Updated: 22/Feb/17 Resolved: 22/Feb/17 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Steffan Mejia | Assignee: | Unassigned |
| Resolution: | Duplicate | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||||||||||
| Operating System: | ALL | ||||||||||||||||
| Steps To Reproduce: |
|
||||||||||||||||
| Participants: | |||||||||||||||||
| Description |
|
Appears to be the result of the code in insert.cpp in userAllowedCreateNS Specifically
This conditional looks for .system. anywhere in a collection name. It appears to have caught a user supplied collection name of tmp.mr.system.users_1882 |