-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
STORM-3470: fix null dereference in SimpleSaslServer authentication #3088
Conversation
Thanks for the contribution @nescohen. I think we should create an issue to track this, as it's fixing a bug. Otherwise it won't show up in release notes, and it won't be obvious which Storm releases have this issue. |
@srdo, sounds good. I can create a jira issue and update the pr accordingly. Thanks! |
Nice catch. Thanks for contribution |
@srdo, Hey just update the PR with the jira issue number :) |
Yeah, No problem :) This issue was actually found by Muse, an exciting upcoming static analysis platform focusing on finding deep, hard-to-find bugs so that developers can spend their time doing the fun part of writing new code. It will be free for life for open source projects. Would you guys be interested in turning it on for Storm? I would be happy to get you an activation code. |
I am not familiar with this tool. It might worth to discuss it in the dev mailing list for this. |
Please also update your commit message to include the jira number. I can then merge it. Thanks |
Done. No Problem! |
For sure, I will reach out there. Just to give you some context, I don't know if you are familiar with open source static analysis tools Infer from facebook and error-prone from Google. They can provide some really helpful results, but the problem is that they were created for the most part by researchers, and they tend to be less than convenient to get working. At MuseDev, we have been working to create a platform that can take a lot of this burden off of the end user, as well as providing results from a suite of tools and aggregating them together. |
Cool Thanks for the information. I will definitely take a look when I get a chance. |
@Ethanlm Awesome. Feel free to reach to me if you have any questions! |
Fixes a possible null dereference in the case that nid is null on line 183. Switch to using a more flexible method of comparison (Objects.compare()) which will correctly compare one null on one non-null or two null values.