WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WONTFIX
279201
There is no need for a random buffer on the stack to read through the URL.
https://bugs.webkit.org/show_bug.cgi?id=279201
Summary
There is no need for a random buffer on the stack to read through the URL.
Seija K.
Reported
2024-09-05 09:28:56 PDT
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.
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2024-09-05 09:38:38 PDT
PR -
https://github.com/WebKit/WebKit/pull/33192
Radar WebKit Bug Importer
Comment 2
2024-09-12 09:29:18 PDT
<
rdar://problem/135884804
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug