Skip to content

Commit

Permalink
Add checks to pointer arguments in m_bmqtool_inpututil
Browse files Browse the repository at this point in the history
Signed-Off-By: Aditya Addepalli <[email protected]>
  • Loading branch information
Dyex719 committed Oct 28, 2023
1 parent 08a6d16 commit 388cedf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/applications/bmqtool/m_bmqtool_inpututil.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,9 @@ void InputUtil::preprocessInput(bsl::string* verb,
const bsl::string& input,
bsl::unordered_set<bsl::string>* keys)
{
BSLS_ASSERT_SAFE(verb);
BSLS_ASSERT_SAFE(output);
BSLS_ASSERT_SAFE(keys);
mwcu::MemOutStream oss;

bool isKey = true, isFirstKey = true, isVerb = true;
Expand Down

0 comments on commit 388cedf

Please sign in to comment.