-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Disallow unrestricted polymorphic deserialization in DataSet #39304
Disallow unrestricted polymorphic deserialization in DataSet #39304
Conversation
Hello @GrabYourPitchforks! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 10 minutes. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
Tagging subscribers to this area: @roji, @ajcvickers |
Some recent changes to the build system means that this no longer builds successfully on my box. Will dig into it once other Patch Tuesday release stuff is out of the way. No changes required to the core logic, just need to figure out the magic .csproj settings to get this to work again. |
<ProjectReference Include="..\..\System.ComponentModel.TypeConverter\src\System.ComponentModel.TypeConverter.csproj" /> | ||
<ProjectReference Include="..\..\System.Runtime\src\System.Runtime.csproj" /> | ||
<ProjectReference Include="..\..\System.Runtime.Extensions\src\System.Runtime.Extensions.csproj" /> | ||
<ProjectReference Include="..\..\System.Private.Uri\src\System.Private.Uri.csproj" /> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these stay as Reference
?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, because they reach into System.Private.CoreLib. We can only add <Reference>
links to reference assemblies that are completely self-contained.
CI isn't enqueuing some test legs. However, of the test legs that have run, they're all passing. Going ahead with the commit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Aha,this commit can make a bug in my current code.Because I use the filesysteminfo in datatable.It trigger the rule in pagelink 21322227.I cant understand it.
Fixes CVE-2020-1147 (see MSRC advisory, GitHub announcement)
See also https://go.microsoft.com/fwlink/?linkid=2132227 for documentation.
This is a direct port from the release/3.1 branch, plus the license header changes that Steve made a few days ago.