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
pmc: Fix stack std::string lifetime Tags None Referenced Files None Subscribers None
Description
Details
|