Skip to content

Commit

Permalink
Add checks to pointer arguments in m_bmqtool_inpututil (#136)
Browse files Browse the repository at this point in the history
Signed-off-by: Aditya Addepalli <[email protected]>
  • Loading branch information
Dyex719 authored Oct 29, 2023
1 parent 08a6d16 commit e3985e4
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 e3985e4

Please sign in to comment.