Bug 298479
| Summary: | TZoneHeapManager::init() should use CC_SHA256_DIGEST_LENGTH for its CC_SHA256 seed size. | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Mark Lam <mark.lam> |
| Component: | bmalloc | Assignee: | Mark Lam <mark.lam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ggaren, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Mark Lam
CC_SHA256_DIGEST_LENGTH is 32 bytes in size. It was previously allocating CC_SHA1_DIGEST_LENGTH which is 20 bytes in size. However, disassembly of the function shows that this bug is benign: that extra 12 bytes of stack memory written to by CC_SHA256 is unused. Regardless, we'll fix this.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/159973958>
Mark Lam
Pull request: https://github.com/WebKit/WebKit/pull/50394
EWS
Committed 299666@main (b386e6352b37): <https://commits.webkit.org/299666@main>
Reviewed commits have been landed. Closing PR #50394 and removing active labels.