-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
Port Access violation occurring in System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipInformation fix from .netfx to .net-core #66726
Conversation
kumarravi
commented
Mar 16, 2022
- Description: Access violation occurring in System.DirectoryServices.ActiveDirectory.ForestTrustRelationshipInformation.GetForestTrustInfoHelper
- Customer Impact: None yet, customer had an issue in .netfx because they were using .netfx to fetch forest trust information. If any customer uses .netcore to do something similar then this fix should mitigate the issue. None of the customers have reported any issues with .netcore yet.
- Regression: Yes, The issue was introduced when windows 1B security fixes were released. We missed the corresponding fix in ,net code and hence this pr.
- Risk: Very low
- Original Issue: https://devdiv.visualstudio.com/DevDiv/_workitems/edit/1465335
- Original PR: https://vstfdevdiv/DevDiv2/DevDiv/_versionControl/changeset/1764922
Tagging subscribers to this area: @dotnet/area-system-directoryservices, @jay98014 Issue Details
|
@kumarravi unlike the .NET Framework sources, this codebase uses nullable reference type annotations hence the error. If you know a reference is undoubtedly not nullable, it may be appropriate to use the BTW, should we include you in https://github.com/dotnet/runtime/blob/main/docs/area-owners.md ? |
@danmoseley Thanks for the review. Apologies for not being clear but this PR is work in progress. And thanks again for the resolution of the errors I was seeing. You saved me some time which I would have spent trying to resolve these. Since Active directory team is the owner of this code, I would like to be added as the co-owner of the repo. Thanks |
@kumarravi Feel free to offer a PR to the markdown I linked. (It's easy, no builds/tests will run) |
@danmoseley Apologies but I cannot find the markdown that you linked. Can you let me know what you mean by "offer a PR to the markup"? |
Thanks for the contribution @kumarravi I will take a look at this very soon.
He means that if you want to be included as a area-owner for DirectoryServices, you can submit a separate PR where you are modifying this file: https://github.com/dotnet/runtime/blob/main/docs/area-owners.md In particular, you would want to add your alias right next to the DirectoryServices area like: -| area-System.DirectoryServices | @ericstj | @dotnet/area-system-directoryservices | Consultants: @BRDPM @grubioe @jay98014
+| area-System.DirectoryServices | @ericstj | @dotnet/area-system-directoryservices | Consultants: @BRDPM @grubioe @jay98014 @kumarravi |
@joperezr a gentle reminder about the above request. Thanks! |
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.
Sorry for missing the review here. I'm not familiar with this code, but the changes look good and match the internal checked in fix. Is there a test that we can add for regression protection here?
@joperezr Thanks for the approval. I really appreciate it. I think the reason we did not put any tests for this fix was that this Looks like I do not have the permissions to merge this PR. I would have to request write access. Can someone with write access merge this PR or tell me how to request the same. |