Skip to content

Commit 32719e8

Browse files
authored
Merge pull request #1570 from AzureAD/kasong/main-1.12.1-compatible
force merge the CommonCore hotfix 1.12.1 into master branch Kai : The pipeline failed due to pipeline configuration which is not capable with latest broker dev, it should not break the code.
2 parents 5f27cd7 + e0897bd commit 32719e8

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

IdentityCore/src/util/mac/MSIDXpcSingleSignOnProvider.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ @protocol MSIDXpcBrokerInstanceProtocol <NSObject>
7070

7171
- (void)handleXpcWithRequestParams:(NSDictionary *)passedInParams
7272
parentViewFrame:(NSRect)frame
73-
completionBlock:(void (^)(NSDictionary<NSString *,id> * _Nonnull, NSDate * _Nonnull, NSString * _Nonnull, NSError * _Nullable))blockName;
73+
completionBlock:(void (^)(NSDictionary<NSString *,id> * _Nullable, NSDate * _Nonnull, NSString * _Nonnull, NSError * _Nullable))blockName;
7474

7575
- (void)canPerformWithMetadata:(NSDictionary *)passedInParams
7676
completionBlock:(void (^)(BOOL))blockName;
@@ -115,7 +115,7 @@ - (void)handleRequestParam:(NSDictionary *)requestParam
115115
return;
116116
}
117117

118-
[xpcService handleXpcWithRequestParams:requestParam parentViewFrame:frame completionBlock:^(NSDictionary<NSString *,id> * _Nonnull replyParam, NSDate * _Nonnull __unused xpcStartDate, NSString * _Nonnull __unused processId, NSError * _Nonnull callbackError) {
118+
[xpcService handleXpcWithRequestParams:requestParam parentViewFrame:frame completionBlock:^(NSDictionary<NSString *,id> * _Nullable replyParam, NSDate * _Nonnull __unused xpcStartDate, NSString * _Nonnull __unused processId, NSError * _Nullable callbackError) {
119119
[directConnection suspend];
120120
[directConnection invalidate];
121121

@@ -415,8 +415,6 @@ - (void)getXpcService:(id<MSIDXpcProviderCaching>)xpcProviderCache withContinueB
415415
continueBlock(nil, nil, xpcError);
416416
return;
417417
}
418-
419-
if (continueBlock) continueBlock(nil, nil, xpcError);
420418
}];
421419

422420
id<MSIDXpcBrokerDispatcherProtocol> parentXpcService = [connection remoteObjectProxyWithErrorHandler:^(NSError * _Nonnull error) {

changelog.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ Version 1.13.0
1010
* Improve JIT troubleshooting in legacy auth flow (#1535)
1111
* Added ephemeral browser session to DUNA (#1534)
1212

13+
Version 1.12.1
14+
* Remove a line that could cause crash when XPC service refuse to take the incoming connection (#1566)
15+
* Resolve UBSan issue due to Xpc protocol I/O (#1566)
16+
1317
Version 1.12.0
1418
* Add classes to define jwe_crypto and APV (#1522)
1519
* Add Request class to get nonce from server (#1525)

0 commit comments

Comments
 (0)