a2e194654f
Coverity flagged the scaling by sizeof(uzd). That is the type of the pointer, so the scaling was already done by pointer arithmetic. However, this was also passing a stack frame pointer to kvm_read, so it was doubly wrong. Move ZDOM_GET into the !_KERNEL section and use it in libmemstat. Reported by: Coverity Reviewed by: markj MFC after: 2 weeks Sponsored by: Dell EMC Isilon Differential Revision: https://reviews.freebsd.org/D26213 |
||
---|---|---|
.. | ||
libmemstat.3 | ||
Makefile | ||
Makefile.depend | ||
memstat_all.c | ||
memstat_internal.h | ||
memstat_malloc.c | ||
memstat_uma.c | ||
memstat.c | ||
memstat.h |