Skip to content

Fix inverted email address validation in DoMailboxTablePerRowWork#986

Closed
Ramya-9353 wants to merge 3 commits into
microsoft:mainfrom
Ramya-9353:fix/check-email-address-validation
Closed

Fix inverted email address validation in DoMailboxTablePerRowWork#986
Ramya-9353 wants to merge 3 commits into
microsoft:mainfrom
Ramya-9353:fix/check-email-address-validation

Conversation

@Ramya-9353

Copy link
Copy Markdown
Contributor

Summary

Fix the validation check for PR_EMAIL_ADDRESS in DoMailboxTablePerRowWork.

Changes

Remove the unnecessary ! from the CheckStringProp condition.

Why

The current check uses the email address only when validation fails, which can lead to a null-pointer dereference if the property is missing.

@stephenegriffin

Copy link
Copy Markdown
Member

Duped by #990 now

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