-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
Affects Version/s: 1.2.2
-
Component/s: None
-
None
-
Environment:PHP 5.x
On PHP 5.x, phongo_zval_to_bson() uses the length provided by PHP's HashTable API when appending a BSON field. If the field contains multiple null bytes, the driver might append those null bytes to the BSON buffer, thereby shifting the remainder of the document's data.