Commit 323cef5f authored by Andreas Schmidt's avatar Andreas Schmidt

Fix memory problem.

parent 1a41c73a
Pipeline #2098 failed with stages
in 22 seconds
......@@ -115,7 +115,7 @@ int main(int argc, char **argv) {
s = _open(false, &arguments);
uint32_t i = 0;
char* buffer = calloc(arguments.size + 1, sizeof(char));
char* buffer = calloc(arguments.size + 20, sizeof(char));
while (i < rounds && keepRunning) {
debug(DEBUG_RECEIVER, "About to receive.");
int n = _recv(s, buffer, arguments.size);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment