Fix/clean-up low impact issues in libinjector and libusermode #1257
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Dear Tamas,
this PR submits three patches, which fix the following issues identified by static code analysis with low to medium impact :
injector_int3_cb(...)
by checking the return value fromvmi_read(...)
print_injection_info(...)
func_addr
of structrh_data_t
inuh-private.hpp
Although those are only minor changes, I think, they might help to declutter the results of static code analysis.
Thank you already advance for considering this PR.
Best regards
Jan
P.S.: I decided to not squash the commits this time, because they try to solve distinct issues. If you want me to do so, please let me know.