Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

dev/core#1047 Fix instance of NULL contamination #14550

Merged
merged 1 commit into from
Jun 15, 2019

Conversation

eileenmcnaughton
Copy link
Contributor

@eileenmcnaughton eileenmcnaughton commented Jun 15, 2019

Overview

Removes an unsafe coding practice per https://lab.civicrm.org/dev/core/issues/1047

Before

CRM_Core_DAO::$_nullArray passed

After

CRM_Core_DAO::$_nullArray not passed

Technical Details

Comments

Identified in #14543

@civibot
Copy link

civibot bot commented Jun 15, 2019

(Standard links)

@civibot civibot bot added the master label Jun 15, 2019
@eileenmcnaughton eileenmcnaughton changed the title Fix instance of NULL contamination dev/core#1047 Fix instance of NULL contamination Jun 15, 2019
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 15, 2019
Primarliy consistentcy - also supports checking nullArray is cleared per

civicrm#14550
@seamuslee001
Copy link
Contributor

Change makes sense to me and seems to be acceptable and i would suspect we have sufficient tests in this area merging

@seamuslee001 seamuslee001 merged commit 8130453 into civicrm:master Jun 15, 2019
@seamuslee001 seamuslee001 deleted the null_fix branch June 15, 2019 21:52
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 15, 2019
Primarliy consistentcy - also supports checking nullArray is cleared per

civicrm#14550
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 16, 2019
Primarliy consistentcy - also supports checking nullArray is cleared per

civicrm#14550
eileenmcnaughton added a commit to eileenmcnaughton/civicrm-core that referenced this pull request Jun 16, 2019
Primarliy consistentcy - also supports checking nullArray is cleared per

civicrm#14550
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants