Closed ubergesundheit closed 8 years ago
Please review my solution to submit a byte array. I am unsure about the size of msgBuffer and the target for memcpy.
msgBuffer
memcpy
Line 233 in the .cpp file: char msgBuffer[size*2]; According to me this should be: char msgBuffer[size*2]+1; to have space for the end of string character.
char msgBuffer[size*2];
char msgBuffer[size*2]+1;
You are right! I've made the changes
Please review my solution to submit a byte array. I am unsure about the size of
msgBuffer
and the target formemcpy
.