mirror of
https://github.com/opnsense/src.git
synced 2026-02-16 09:08:51 -05:00
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.c | ||
| memstat.h | ||
| memstat_all.c | ||
| memstat_internal.h | ||
| memstat_malloc.c | ||
| memstat_uma.c | ||