Title: [287240] trunk/Source/WebCore
- Revision
- 287240
- Author
- [email protected]
- Date
- 2021-12-19 04:58:41 -0800 (Sun, 19 Dec 2021)
Log Message
Fix pointer to blob data in BlobResourceHandle::readDataSync()
<https://webkit.org/b/234459>
<rdar://86026618>
Reviewed by Chris Dumez.
* platform/network/BlobResourceHandle.cpp:
(WebCore::BlobResourceHandle::readDataSync):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (287239 => 287240)
--- trunk/Source/WebCore/ChangeLog 2021-12-19 10:03:22 UTC (rev 287239)
+++ trunk/Source/WebCore/ChangeLog 2021-12-19 12:58:41 UTC (rev 287240)
@@ -1,3 +1,14 @@
+2021-12-19 David Kilzer <[email protected]>
+
+ Fix pointer to blob data in BlobResourceHandle::readDataSync()
+ <https://webkit.org/b/234459>
+ <rdar://86026618>
+
+ Reviewed by Chris Dumez.
+
+ * platform/network/BlobResourceHandle.cpp:
+ (WebCore::BlobResourceHandle::readDataSync):
+
2021-12-19 Philippe Normand <[email protected]>
[GTK][WPE][VTT] tests media/track/track-webvtt-* fail on GTK and WPE
Modified: trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp (287239 => 287240)
--- trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp 2021-12-19 10:03:22 UTC (rev 287239)
+++ trunk/Source/WebCore/platform/network/BlobResourceHandle.cpp 2021-12-19 12:58:41 UTC (rev 287240)
@@ -379,7 +379,7 @@
int bytesToRead = (length > remaining) ? static_cast<int>(remaining) : length;
if (bytesToRead > m_totalRemainingSize)
bytesToRead = static_cast<int>(m_totalRemainingSize);
- memcpy(buf, item.data().data() + item.offset() + m_currentItemReadSize, bytesToRead);
+ memcpy(buf, item.data().data()->data() + item.offset() + m_currentItemReadSize, bytesToRead);
m_totalRemainingSize -= bytesToRead;
m_currentItemReadSize += bytesToRead;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes