Fix: add checks to pointer arguments in `m_bmqtool_inpututil`
678098 opened this issue · 5 comments
Is there an existing proposal for this?
- I have searched the existing proposals
Is your feature request related to a problem?
Files: m_bmqtool_inpututil.h
and m_bmqtool_inpututil.cpp
There are functions with arguments passed as a pointer, with assumption that these pointer values are not null.
Example:
blazingmq/src/applications/bmqtool/m_bmqtool_inpututil.cpp
Lines 50 to 53 in 9b692fe
Describe the solution you'd like
Add checks to pointer arguments to functions in m_bmqtool_inpututil
.
Example:
blazingmq/src/groups/mqb/mqbmock/mqbmock_cluster.cpp
Lines 380 to 384 in 9b692fe
Alternatives you considered
No response
Seems like a simple fix. Can I take this up?
Hi @Dyex719 ! Thanks for your interest, you can proceed with this.
Just a gentle reminder, we have a DCO check for all commits in PR, the simple instruction is here: https://github.com/bloomberg/blazingmq/blob/main/CONTRIBUTING.md#contribution-licensing
How can I test these changes?