Commit a5e60401 authored by derf's avatar derf Committed by GitHub
Browse files

Merge pull request #286 from stoeckmann/ipc

Fix double-free/OOB-write while receiving IPC data
parents a0072d60 f7a547b7
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -795,7 +795,7 @@ char *enl_ipc_get(const char *msg_data)
{

	static char *message = NULL;
	static unsigned short len = 0;
	static size_t len = 0;
	char buff[13], *ret_msg = NULL;
	register unsigned char i;
	unsigned char blen;