Skip to content

Commit 16a06a9

Browse files
Use the CHIP queue instead of a separate BLE queue
1 parent 6d1cef7 commit 16a06a9

File tree

2 files changed

+125
-173
lines changed

2 files changed

+125
-173
lines changed

src/darwin/Framework/CHIPTests/MTRBleTests.m

+2-4
Original file line numberDiff line numberDiff line change
@@ -153,14 +153,12 @@ - (void)testBleCommissionAfterStopBrowseUAF
153153

154154
- (void)testShutdownBlePowerOffRaceUAF
155155
{
156-
XCTSkip(@"Skip reproducer for known UAF crash");
157-
158156
// Attempt a PASE connection over BLE, this will call BleConnectionDelegateImpl::NewConnection()
159157
MTRSetupPayload * payload = [[MTRSetupPayload alloc] initWithSetupPasscode:@54321 discriminator:@0xb1e];
160158
payload.discoveryCapabilities = MTRDiscoveryCapabilitiesBLE;
161-
NSError *error;
159+
NSError * error;
162160
XCTAssertTrue([sController setupCommissioningSessionWithPayload:payload newNodeID:@999 error:&error],
163-
"setupCommissioningSessionWithPayload failed: %@", error);
161+
"setupCommissioningSessionWithPayload failed: %@", error);
164162

165163
// Create a race between shutdown and a CBManager callback that provokes a UAF
166164
// Note that on the order of 100 iterations can be necessary to reproduce the crash.

0 commit comments

Comments
 (0)