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

add CERT STR05-C check #1899

Merged
merged 2 commits into from
Jun 17, 2019
Merged

add CERT STR05-C check #1899

merged 2 commits into from
Jun 17, 2019

Conversation

fuzzelhjb
Copy link
Contributor

No description provided.

Copy link
Owner

@danmar danmar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks good overall.. I just have a small nit.

addons/cert.py Outdated
if parent is None:
continue
parentOp1 = parent.astOperand1
if parent.isAssignmentOp and not parentOp1.valueType is None:
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm.. I think you can replace not parentOp1.valueType is None with parentOp1.valueType.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I updated the check

@danmar danmar merged commit 5e3da9e into danmar:master Jun 17, 2019
@fuzzelhjb fuzzelhjb deleted the CERT-STR05-C branch July 10, 2019 13:47
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