WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED DUPLICATE of
bug 260897
260884
LOG_WITH_LEVEL macro is broken
https://bugs.webkit.org/show_bug.cgi?id=260884
Summary
LOG_WITH_LEVEL macro is broken
Jean-Yves Avenard [:jya]
Reported
2023-08-29 16:14:17 PDT
regressed by
bug 235562
. ``` #define LOG_WITH_LEVEL(channel, level, ...) do { \ if (LOG_CHANNEL(channel).state != logChannelStateOff && channel->level >= (level)) \ WTFLogWithLevel(&LOG_CHANNEL(channel), level, __VA_ARGS__); \ } while (0) ``` the macro is attempting to dereference `channel` ; but it's not a pointer.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-08-29 16:14:35 PDT
<
rdar://problem/114666245
>
Jean-Yves Avenard [:jya]
Comment 2
2023-08-30 02:52:16 PDT
*** This bug has been marked as a duplicate of
bug 260897
***
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