Skip to content

Conversation

@akoeplinger
Copy link
Member

@akoeplinger akoeplinger commented Jan 8, 2024

When a device is not paired (trusted) then some data like the architecture is not available.
Prevent a NullReferenceException when trying to access that data.

Fixes #1126

When a device is not paired (trusted) then some data like the architecture is not available.
Prevent a NullReferenceException when trying to access that data.

Fixes dotnet#1126
@akoeplinger akoeplinger requested a review from premun January 8, 2024 12:14
@akoeplinger akoeplinger changed the title Fix NRE when listing devices that are not paired Apple: Fix NRE when listing devices that are not paired Jan 8, 2024
@premun premun merged commit caf8f0b into dotnet:main Jan 8, 2024
@premun
Copy link
Member

premun commented Jan 8, 2024

Oops, merged accidentally

@akoeplinger
Copy link
Member Author

No problem, I wanted to merge it anyway :)

@akoeplinger akoeplinger deleted the fix-nullref branch January 8, 2024 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

NullReferenceException when xharness tries to list device which is untrusted

2 participants