-
Notifications
You must be signed in to change notification settings - Fork 470
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
Assert in TaintedDataAnalysis.TaintedDataSymbolMap<>.GetInfosForType #2708
Comments
@LLLXXXCCC can you look at this one as well? Also seems related to the TaintedDataAnalysis changes for constant arrays. |
@LLLXXXCCC This should be fixed now? |
I doubt this issue has same root cause as #2707, because I don't remember the assert firing when running #2707's test case. I vaguely remember the assert coming from a different place. @LLLXXXCCC were you able to repro? It'd be good to understand exactly what code made the assert fired. Maybe the fix will end up being the same, or maybe we'll find there's another code pattern we need to handle. In any case, we should have at least one unit test containing code that would have fired the assert. |
@dotpaul @LLLXXXCCC This should now be fixed, correct? |
I believe so. |
Got:
Assert fires:
roslyn-analyzers/src/Utilities/FlowAnalysis/FlowAnalysis/Analysis/TaintedDataAnalysis/TaintedDataSymbolMap.cs
Line 86 in c844bfb
Assert seems benign as we do handle the null value in the very next statement.
The text was updated successfully, but these errors were encountered: