freebsd-dev/cddl/lib/libzpool
John Baldwin e67b246734 libzpool: Disable -Wuse-after-free for dbuf.c.
The debug traces for reference counting in ZFS use the pointer of the
owning object as a "tag" for references to check that when an object
drops a reference it had actually held one.  In a couple of places ZFS
drops references after freeing the owning object.  In userland GCC
realizes this is a use after free.  However, since only the value of
the pointer is used, and it isn't indirected, the use is harmless.

Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D36818
2022-10-03 16:10:43 -07:00
..
Makefile libzpool: Disable -Wuse-after-free for dbuf.c. 2022-10-03 16:10:43 -07:00
Makefile.depend Merge OpenZFS support in to HEAD. 2020-08-25 02:21:27 +00:00