Page MenuHomeFreeBSD

libfetch: Plug leak in 304 Not Modified case
ClosedPublic

Authored by des on Fri, Sep 25, 10:38 AM.
Tags
None
Referenced Files
F174681900: D60016.diff
Mon, Oct 5, 4:06 AM
F174662174: D60016.id.diff
Mon, Oct 5, 1:10 AM
Unknown Object (File)
Sun, Oct 4, 1:06 AM
Unknown Object (File)
Sat, Oct 3, 9:00 PM
Unknown Object (File)
Sat, Oct 3, 2:24 AM
Unknown Object (File)
Fri, Oct 2, 11:53 AM
Unknown Object (File)
Fri, Oct 2, 8:30 AM
Unknown Object (File)
Fri, Oct 2, 2:34 AM
Subscribers

Details

Summary

When we get a 304 Not Modified response, we need to go through the error
path to properly free any resources we've allocated instead of just
returning NULL directly.

MFC after: 1 week

Diff Detail

Repository
rG FreeBSD src repository
Lint
Lint Skipped
Unit
Tests Skipped
Build Status
Buildable 77310
Build 74193: arc lint + arc unit