Skip to content

Conversation

@zhiyuanliang-ms
Copy link
Member

@zhiyuanliang-ms zhiyuanliang-ms commented Apr 16, 2024

Why this PR?

Bug fix.

We have null check for FeatureFilterEvaluationContext in EvaluateAsync method of ContextualTargeting and Targeting filters.

We missed that in TimeWindowFilter and PercentageFilter. This could cause potential NPE, since we access context.Settings without check whether context is null.

@zhiyuanliang-ms zhiyuanliang-ms merged commit a63856c into main Apr 17, 2024
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/context-null-check-builtin-filter branch April 17, 2024 02:34
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.

3 participants