SERVER-119970ClosedFixed

BSONObj checks element ends before eoo during iteration or when handing out BSONElement

This would cover BSON iteration. getField(), which internally does its own iteration, should also require these bounds checking or be changed to use normal iteration.

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc0
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.