[SERVER-38616] LDAPArrayIterator behaves incorrectly when initialized with an empty array Created: 13/Dec/18 Updated: 29/Oct/23 Resolved: 20/Dec/18 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | None |
| Affects Version/s: | 3.6.9, 4.0.4 |
| Fix Version/s: | 3.6.10, 4.0.6, 4.1.7 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Mark Benvenuto | Assignee: | Mark Benvenuto |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||
| Operating System: | ALL | ||||||||
| Backport Requested: |
v4.0, v3.6
|
||||||||
| Sprint: | Security 2018-12-31 | ||||||||
| Participants: | |||||||||
| Description |
|
Currently, the LDAPArrayIterator() of an empty array is not equal to an empty LDAPArrayIterator(). This causes it code that uses it as a begin iterator in iterator traversal to return the wrong results. Example:
|
| Comments |
| Comment by Githook User [ 29/Jan/19 ] |
|
Author: {'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}Message: |
| Comment by Mark Benvenuto [ 21/Dec/18 ] |
|
Git: https://github.com/10gen/mongo-enterprise-modules/commit/313b9f93bec7c7a5d9552996213efdc87a023894 |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}Message: (cherry picked from commit a676a80464e06be415fcd644e3cda3d3547447f0) |
| Comment by Githook User [ 21/Dec/18 ] |
|
Author: {'username': 'markbenvenuto', 'email': 'mark.benvenuto@mongodb.com', 'name': 'Mark Benvenuto'}Message: (cherry picked from commit a676a80464e06be415fcd644e3cda3d3547447f0) |
| Comment by Mark Benvenuto [ 21/Dec/18 ] |
|
Git commit: https://github.com/10gen/mongo-enterprise-modules/commit/a676a80464e06be415fcd644e3cda3d3547447f0 |