Skip to content

Conversation

@alcaeus
Copy link
Member

@alcaeus alcaeus commented Nov 11, 2019

https://jira.mongodb.org/browse/PHPLIB-494

This fixes a few validation errors where it is possible to use null as a valid value for an option, resulting in undefined behaviour. All other options that have a default value are directly checked for their type, without an isset check to guard against a missing option since it should always be present due to the array union.

@alcaeus alcaeus requested a review from jmikola November 11, 2019 14:51
@alcaeus alcaeus self-assigned this Nov 11, 2019
@alcaeus alcaeus changed the base branch from master to v1.5 November 15, 2019 07:14
alcaeus added a commit that referenced this pull request Nov 15, 2019
alcaeus added a commit that referenced this pull request Nov 15, 2019
@alcaeus alcaeus merged commit 86ff731 into mongodb:v1.5 Nov 15, 2019
@alcaeus alcaeus deleted the phplib-494 branch November 15, 2019 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants