[Lldb-commits] [PATCH] D112107: [lldb] Fix Scripted ProcessLaunchInfo Argument nullptr deref
Jonas Devlieghere via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Tue Nov 9 22:13:44 PST 2021
JDevlieghere accepted this revision.
JDevlieghere added a comment.
This revision is now accepted and ready to land.
Thanks. This LGTM!
================
Comment at: lldb/source/Plugins/Process/scripted/ScriptedProcess.h:36
std::string m_class_name;
- StructuredData::DictionarySP m_dictionary_sp;
+ StructuredData::DictionarySP m_args_sp = nullptr;
};
----------------
A shared pointer is default constructed with a `nullptr` so you can omit that here.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D112107/new/
https://reviews.llvm.org/D112107
More information about the lldb-commits
mailing list