From cf19efc8a8d527487798feaa5edccc0a76b144d4 Mon Sep 17 00:00:00 2001 From: Andre Date: Sat, 15 Apr 2006 19:50:59 +0200 Subject: [PATCH] remove null termination. The previous patch missed to remove a line. Quite a serious mistake as 'ret' no longer contains the length of the message but the user id.. --- audiod.c | 1 - 1 file changed, 1 deletion(-) diff --git a/audiod.c b/audiod.c index b0f9f786..e1bcbd12 100644 --- a/audiod.c +++ b/audiod.c @@ -1443,7 +1443,6 @@ static int handle_connect(void) if (ret < 0) goto out; PARA_INFO_LOG("connection from user %i\n", ret); - buf[ret] = '\0'; ret = check_perms(ret); if (ret < 0) goto out; -- 2.39.2