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

[Intel MKL] Code clean up based on static code analysis #40958

Closed
wants to merge 1 commit into from

Conversation

yimeisun123
Copy link
Contributor

No description provided.

@google-ml-butler google-ml-butler bot added the size:XS CL Change Size: Extra Small label Jun 30, 2020
@yimeisun123 yimeisun123 changed the title [Intel MKL] Fix klockworks issue in remapper.cc [Intel MKL] Code clean up based on static code analysis Jun 30, 2020
@gbaned gbaned self-assigned this Jul 1, 2020
@gbaned gbaned added the comp:grappler Grappler related issues label Jul 1, 2020
@gbaned gbaned added this to Assigned Reviewer in PR Queue via automation Jul 1, 2020
@gbaned gbaned requested a review from ezhulenev July 1, 2020 05:15
@ezhulenev
Copy link
Member

Is it the problem with "maybe null pointer"? Or it actually fails at runtime with nullptr dereferencing?

@yimeisun123
Copy link
Contributor Author

Is it the problem with "maybe null pointer"? Or it actually fails at runtime with nullptr dereferencing?

It is a "maybe null pointer", and is reported by static code analyzer.

@ezhulenev
Copy link
Member

It can't actually be null because of the properties of graph view, if it is null it's a serious bug that I'd prefer to get a segfault then silently returning false.

@yimeisun123 yimeisun123 closed this Jul 2, 2020
PR Queue automation moved this from Assigned Reviewer to Closed/Rejected Jul 2, 2020
@yimeisun123 yimeisun123 deleted the yimei/kw_fix branch July 2, 2020 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla: yes comp:grappler Grappler related issues size:XS CL Change Size: Extra Small
Projects
PR Queue
  
Closed/Rejected
Development

Successfully merging this pull request may close these issues.

None yet

4 participants