Changeset 247274 in webkit
- Timestamp:
- Jul 9, 2019 1:28:15 PM (5 years ago)
- Location:
- trunk/Source/WebKit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit/ChangeLog
r247272 r247274 1 2019-07-09 Chris Dumez <cdumez@apple.com> 2 3 Fix validation of method signature in decodeInvocation() 4 https://bugs.webkit.org/show_bug.cgi?id=199629 5 <rdar://problem/52731659> 6 7 Reviewed by Dan Bernstein. 8 9 The decoder was mistakenly assigning remoteMethodSignature to localMethodSignature 10 before comparing remoteMethodSignature and localMethodSignature, thus making the 11 check useless. 12 13 * Shared/API/Cocoa/WKRemoteObjectCoder.mm: 14 (decodeInvocation): 15 1 16 2019-07-09 Youenn Fablet <youenn@apple.com> 2 17 -
trunk/Source/WebKit/Shared/API/Cocoa/WKRemoteObjectCoder.mm
r242339 r247274 608 608 609 609 NSMethodSignature *remoteMethodSignature = [NSMethodSignature signatureWithObjCTypes:typeSignature.UTF8String]; 610 localMethodSignature = remoteMethodSignature;611 610 if (![localMethodSignature isEqual:remoteMethodSignature]) 612 611 [NSException raise:NSInvalidUnarchiveOperationException format:@"Local and remote method signatures are not equal for method \"%s\"", selector ? sel_getName(selector) : "(no selector)"];
Note: See TracChangeset
for help on using the changeset viewer.