Title: [225276] trunk/Source/WebCore
Revision
225276
Author
bfulg...@apple.com
Date
2017-11-29 10:59:01 -0800 (Wed, 29 Nov 2017)

Log Message

Unreviewed test fix after r225264.
<rdar://problem/35750689>

The changes in r225264 were meant to have no changes in behavior. However, I mistakenly
switched to a secure coding API call in the PlatformPasteboard::write method. This should
have used the 'insecure' version of this function.

* platform/ios/PlatformPasteboardIOS.mm:
(WebCore::PlatformPasteboard::write): 

Modified Paths

Diff

Modified: trunk/Source/WebCore/ChangeLog (225275 => 225276)


--- trunk/Source/WebCore/ChangeLog	2017-11-29 18:53:11 UTC (rev 225275)
+++ trunk/Source/WebCore/ChangeLog	2017-11-29 18:59:01 UTC (rev 225276)
@@ -1,3 +1,15 @@
+2017-11-29  Brent Fulgham  <bfulg...@apple.com>
+
+        Unreviewed test fix after r225264.
+        <rdar://problem/35750689>
+
+        The changes in r225264 were meant to have no changes in behavior. However, I mistakenly
+        switched to a secure coding API call in the PlatformPasteboard::write method. This should
+        have used the 'insecure' version of this function.
+
+        * platform/ios/PlatformPasteboardIOS.mm:
+        (WebCore::PlatformPasteboard::write): 
+
 2017-11-29  Youenn Fablet  <you...@apple.com>
 
         LibWebRTCPeerConnectionBackend should clean its stats promises when being cleaned

Modified: trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm (225275 => 225276)


--- trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm	2017-11-29 18:53:11 UTC (rev 225275)
+++ trunk/Source/WebCore/platform/ios/PlatformPasteboardIOS.mm	2017-11-29 18:59:01 UTC (rev 225276)
@@ -265,7 +265,7 @@
         [representationsToRegister addData:content.dataInWebArchiveFormat->createNSData().get() forType:WebArchivePboardType];
 
     if (content.dataInAttributedStringFormat) {
-        NSAttributedString *attributedString = securelyUnarchiveObjectOfClassFromData([NSAttributedString class], content.dataInAttributedStringFormat->createNSData().get());
+        NSAttributedString *attributedString = insecurelyUnarchiveObjectOfClassFromData(content.dataInAttributedStringFormat->createNSData().get());
         if (attributedString)
             [representationsToRegister addRepresentingObject:attributedString];
     }
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to