HomeFreeBSD

Fix -fsanitize=address memory leak

Description

Fix -fsanitize=address memory leak

kmem_alloc(0, ...) in userspace returns a leakable pointer.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: DHE <git@dehacked.net>
Issue #6941

Details

Provenance
DHE <git@dehacked.net>Authored on Nov 18 2017, 11:21 PM
Brian Behlendorf <behlendorf1@llnl.gov>Committed on Jan 9 2018, 8:26 PM
Parents
rGbe54a13c3e7d: Fix percentage styling in zfs-module-parameters.5
Branches
Unknown
Tags
Unknown

Event Timeline

Brian Behlendorf <behlendorf1@llnl.gov> committed rG460f239e6999: Fix -fsanitize=address memory leak (authored by DHE <git@dehacked.net>).Jan 9 2018, 8:26 PM