-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Couple of minor issues in command handling code #26
Comments
Thanks for the report, merged and fixed. |
My only other comment is that when |
Issue 1
Check for failed allocation to avoid access violation on write
trevorc2/agents/c/src/encode.c
Line 89 in cb508ca
Issue 2
I am not sure of the intent when
doTasking
is on the nth iteration of getting shell command output but fails due memory allocation. Currently the code returns the buffer with as much as it was able to read. But there is some unreachable code that may be a remnant of treating this as an error case.trevorc2/agents/c/src/main.c
Line 326 in 4154bd2
The text was updated successfully, but these errors were encountered: