| Summary: | _web_capitalizeRFC822HeaderFieldName leaks memory | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Seija K. <doremylover123> |
| Component: | WebKit API | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Normal | CC: | darin |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Seija K.
2023-02-13 07:45:29 PST
Pull request: https://github.com/WebKit/WebKit/pull/10039 How did you notice this bug? Code inspection or some type of testing. Could you supply more context to your work? The WebKit project requires regression tests when we fix bugs. Maybe we can forgo that in this case but I would like to know more about how it was discovered to make that decision. If we made a test, we’d see there’s no bug here. We do free the backing buffer. Passing nullptr as the last argument tells it to use the default allocator to deallocate. |