[Webkit-unassigned] [Bug 279201] New: There is no need for a random buffer on the stack to read through the URL.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Sep 5 09:28:56 PDT 2024


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

            Bug ID: 279201
           Summary: There is no need for a random buffer on the stack to
                    read through the URL.
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Web Template Framework
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: doremylover123 at gmail.com

Both branches seem to do the same thing, except one fails if the call to CFStringGetCString fails. CFStringGetCString copies to a buffer and then reads from the buffer even though there is no reason to have the buffer on the stack.

-- 
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/20240905/061f8f83/attachment.htm>


More information about the webkit-unassigned mailing list