Title: [254882] trunk/Source/WebKit
- Revision
- 254882
- Author
- [email protected]
- Date
- 2020-01-21 14:13:18 -0800 (Tue, 21 Jan 2020)
Log Message
IPC::Decoder should use nullptr as invalid value
<https://webkit.org/b/203880>
<rdar://problem/53159906>
Follow-up fix noticed by Chris Dumez.
* Platform/IPC/Decoder.cpp:
(IPC::alignedBufferIsLargeEnoughToContain): Fix typo in comment.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (254881 => 254882)
--- trunk/Source/WebKit/ChangeLog 2020-01-21 22:05:43 UTC (rev 254881)
+++ trunk/Source/WebKit/ChangeLog 2020-01-21 22:13:18 UTC (rev 254882)
@@ -1,3 +1,14 @@
+2020-01-21 David Kilzer <[email protected]>
+
+ IPC::Decoder should use nullptr as invalid value
+ <https://webkit.org/b/203880>
+ <rdar://problem/53159906>
+
+ Follow-up fix noticed by Chris Dumez.
+
+ * Platform/IPC/Decoder.cpp:
+ (IPC::alignedBufferIsLargeEnoughToContain): Fix typo in comment.
+
2020-01-21 Chris Dumez <[email protected]>
[macOS] Add managed preference to allow synchronous XHR during page dismissal
Modified: trunk/Source/WebKit/Platform/IPC/Decoder.cpp (254881 => 254882)
--- trunk/Source/WebKit/Platform/IPC/Decoder.cpp 2020-01-21 22:05:43 UTC (rev 254881)
+++ trunk/Source/WebKit/Platform/IPC/Decoder.cpp 2020-01-21 22:13:18 UTC (rev 254882)
@@ -137,7 +137,7 @@
static inline bool alignedBufferIsLargeEnoughToContain(const uint8_t* alignedPosition, const uint8_t* bufferStart, const uint8_t* bufferEnd, size_t size)
{
- // When size == 0 for the last argument and it's a variable length byte arrray,
+ // When size == 0 for the last argument and it's a variable length byte array,
// bufferStart == alignedPosition == bufferEnd, so checking (bufferEnd >= alignedPosition)
// is not an off-by-one error since (static_cast<size_t>(bufferEnd - alignedPosition) >= size)
// will catch issues when size != 0.
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes