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
F176192657: D60016.diff
Fri, Oct 16, 8:32 PM
Unknown Object (File)
Tue, Oct 13, 5:31 AM
Unknown Object (File)
Sun, Oct 11, 12:27 PM
Unknown Object (File)
Sun, Oct 11, 2:34 AM
Unknown Object (File)
Sat, Oct 10, 2:47 PM
Unknown Object (File)
Sat, Oct 10, 10:13 AM
Unknown Object (File)
Sat, Oct 10, 5:52 AM
Unknown Object (File)
Sat, Oct 10, 4:23 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 Not Applicable
Unit
Tests Not Applicable