freebsd-dev/usr.sbin/pmc
Conrad Meyer 11a5c93d51 pmc: Fix stack std::string lifetime
It's invalid to reference a C++ string's c_str() buffer after the object
goes out of scope.  Adjust the scope of the string to match the use in
write(2) to fix the misuse.

CID:		1393383
Reported by:	Coverity
2019-05-22 01:22:33 +00:00
..
cmd_pmc_filter.cc pmc: Fix stack std::string lifetime 2019-05-22 01:22:33 +00:00
cmd_pmc_list.c
cmd_pmc_stat.c
cmd_pmc_summary.cc
cmd_pmc.h
Makefile Standardize -std=c++* as CXXSTD` 2019-03-29 18:45:27 +00:00
pmc_util.c
pmc.c