Bug 260884
| Summary: | LOG_WITH_LEVEL macro is broken | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Component: | Web Template Framework | Assignee: | Jean-Yves Avenard [:jya] <jean-yves.avenard> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://bugs.webkit.org/show_bug.cgi?id=235562 | ||
Jean-Yves Avenard [:jya]
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
<rdar://problem/114666245>
Jean-Yves Avenard [:jya]
*** This bug has been marked as a duplicate of bug 260897 ***