Skip to content

Commit

Permalink
Fixed #1: the buffer wasn't cleared after using it
Browse files Browse the repository at this point in the history
  • Loading branch information
midwan committed Jun 28, 2020
1 parent e3d7b42 commit 3f1a908
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/host-run.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#include <stdlib.h>
#include "uae_pragmas.h"

static const char version[] = "$VER: Host-Run v1.0";
static const char version[] = "$VER: Host-Run v1.1";

int main(int argc, char *argv[])
{
Expand Down Expand Up @@ -33,4 +33,5 @@ int main(int argc, char *argv[])

// printf("DEBUG: %s", command);
ExecuteOnHost((UBYTE*)&command);
memset(command, '\0', 255);
}

0 comments on commit 3f1a908

Please sign in to comment.