Skip to content
This repository has been archived by the owner on Feb 23, 2019. It is now read-only.

Validate needle passed to stristr function #558

Merged
merged 2 commits into from
Feb 6, 2018
Merged

Validate needle passed to stristr function #558

merged 2 commits into from
Feb 6, 2018

Conversation

Ivanner
Copy link
Contributor

@Ivanner Ivanner commented Feb 2, 2018

Needle being passed to stristr is sometimes undefined, causing an error log entry. Validating the needle is not empty before calling the function fixes it.

@nigrosimone nigrosimone merged commit 4d9ea3b into szepeviktor:v0.9.6.x_wip Feb 6, 2018
@nigrosimone nigrosimone added the Bug label Feb 6, 2018
@nigrosimone
Copy link
Collaborator

thanks @Ivanner

Furniel pushed a commit that referenced this pull request Jul 3, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants