Page MenuHomeFreeBSD

libkiconv: address memory leak in a not-found case
ClosedPublic

Authored by emaste on Apr 21 2021, 5:48 PM.
Tags
None
Referenced Files
F93156620: D29896.id87886.diff
Sat, Sep 7, 5:37 PM
Unknown Object (File)
Thu, Sep 5, 7:02 AM
Unknown Object (File)
Sun, Sep 1, 9:17 AM
Unknown Object (File)
Sun, Sep 1, 4:45 AM
Unknown Object (File)
Sat, Aug 31, 9:47 PM
Unknown Object (File)
Sat, Aug 31, 6:52 AM
Unknown Object (File)
Thu, Aug 29, 4:42 AM
Unknown Object (File)
Tue, Aug 27, 4:46 AM
Subscribers

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped

Event Timeline

emaste created this revision.
scottl requested changes to this revision.Apr 21 2021, 5:59 PM
scottl added a subscriber: scottl.
scottl added inline comments.
lib/libkiconv/kiconv_sysctl.c
90

Do you mean free(csi) here?

This revision now requires changes to proceed.Apr 21 2021, 5:59 PM
jhb added a subscriber: jhb.

RAII would be nice.

This revision was not accepted when it landed; it landed in state Needs Review.Apr 22 2021, 11:34 PM
This revision was automatically updated to reflect the committed changes.