From: Takashi Iwai Subject: Re: [PATCH] ALSA: seq: Fix OOB-reads from strlcpy Date: Fri, 05 Apr 2019 14:40:30 +0200 Message-ID: References: <20190404213355.76452-1-zsm@chromium.org> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Received: from mx1.suse.de (mx2.suse.de [195.135.220.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by alsa1.perex.cz (Postfix) with ESMTPS id 32412F80792 for ; Fri, 5 Apr 2019 14:40:30 +0200 (CEST) In-Reply-To: <20190404213355.76452-1-zsm@chromium.org> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: alsa-devel-bounces@alsa-project.org Sender: "Alsa-devel" To: Zubin Mithra Cc: groeck@chromium.org, alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org On Thu, 04 Apr 2019 23:33:55 +0200, Zubin Mithra wrote: > > When ioctl calls are made with non-null-terminated userspace strings, > strlcpy causes an OOB-read from within strlen. Fix by changing to use > strscpy instead. > > Signed-off-by: Zubin Mithra Applied with Cc to stable now. Thanks. Takashi