-
LoveSy authored
- The lambda here infers its return type as `std::string`, and since `info` is `const`, the labmda copies `info.name` and returns a `std::string&&`. After captured by the `std::string_view`, the `std::string&&` return value deconstructs and makes `std::string_view` refers to a dangling pointer.
e184eb4a
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
applet_stub.cpp | ||
applets.cpp | ||
bootstages.cpp | ||
core.hpp | ||
daemon.cpp | ||
db.cpp | ||
logging.cpp | ||
magisk.cpp | ||
module.cpp | ||
restorecon.cpp | ||
scripting.cpp | ||
socket.cpp | ||
thread.cpp |