[Webkit-unassigned] [Bug 191498] [Curl] implement CertificateInfo::summaryInfo

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jul 9 01:00:55 PDT 2019


https://bugs.webkit.org/show_bug.cgi?id=191498

--- Comment #9 from Fujii Hironori <Hironori.Fujii at sony.com> ---
Comment on attachment 373699
  --> https://bugs.webkit.org/attachment.cgi?id=373699
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=373699&action=review

> Source/WebCore/platform/network/curl/CertificateInfo.h:102
> +            WebCore::CertificateInfo::Certificate certificate(certSize);

Before allocating the buffer certificate, you should check the decoder remaining data size.
decoder.bufferIsLargeEnoughToContain<char>(certSize)
You can see other decoder example by grepping "bufferIsLargeEnoughToContain".

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20190709/a95a2e13/attachment.html>


More information about the webkit-unassigned mailing list