[webkit-changes] [WebKit/WebKit] 1b0ef4: IPC::Decoder::markInvalid() should only call m_buf...

Commit Queue noreply at github.com
Tue Jan 9 21:37:44 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 1b0ef4a65009cc7739f2368e685884b04c2dc9d5
      https://github.com/WebKit/WebKit/commit/1b0ef4a65009cc7739f2368e685884b04c2dc9d5
  Author: David Kilzer <ddkilzer at apple.com>
  Date:   2024-01-09 (Tue, 09 Jan 2024)

  Changed paths:
    M Source/WebKit/Platform/IPC/Decoder.h

  Log Message:
  -----------
  IPC::Decoder::markInvalid() should only call m_bufferDeallocator if m_buffer is not empty
https://bugs.webkit.org/show_bug.cgi?id=267295
<rdar://120737539>

Reviewed by Darin Adler.

* Source/WebKit/Platform/IPC/Decoder.h:
(IPC::Decoder::markInvalid):
- Only call m_bufferDeallocator() if the value moved out of m_buffer is
  not an empty std::span<> (IPC::DataReference).

Canonical link: https://commits.webkit.org/272840@main




More information about the webkit-changes mailing list