-
Type:
Improvement
-
Resolution: Done
-
Priority:
Major - P3
-
Affects Version/s: 1.1.8
-
Component/s: None
-
None
BSON's regex type uses null-terminated strings for pattern and flag components. Since values would be truncated by libbson, which uses strlen() internally, we should throw if either argument contains a null byte.
- depends on
-
PHPC-741 Use consistent exceptions for BSON initialization methods
-
- Closed
-
- related to
-
DRIVERS-101 BSON cstring with null bytes should not be allowed
-
- Closed
-