Update valgrind command to hold 512 bytes and use strncat over the dumb/insecure strcat