All of lore.kernel.org
 help / color / mirror / Atom feed
From: Takashi Iwai <tiwai@suse.de>
To: Daniil Dementev <d.dementev@ispras.ru>
Cc: linux-kernel@vger.kernel.org, alsa-devel@alsa-project.org,
	Takashi Iwai <tiwai@suse.com>,
	Alexey Khoroshilov <khoroshilov@ispras.ru>
Subject: Re: [PATCH] ALSA: usb-audio: US16x08: Move overflow check before array access
Date: Mon, 13 Jun 2022 07:41:12 +0200	[thread overview]
Message-ID: <87edztt91j.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220610165732.2904-1-d.dementev@ispras.ru>

On Fri, 10 Jun 2022 18:57:32 +0200,
Daniil Dementev wrote:
> 
> Buffer overflow could occur in the loop "while", due to accessing an
> array element before checking the index.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Daniil Dementev <d.dementev@ispras.ru>
> Reviewed-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Thanks, applied.


Takashi

WARNING: multiple messages have this Message-ID (diff)
From: Takashi Iwai <tiwai@suse.de>
To: Daniil Dementev <d.dementev@ispras.ru>
Cc: Jaroslav Kysela <perex@perex.cz>, Takashi Iwai <tiwai@suse.com>,
	alsa-devel@alsa-project.org, linux-kernel@vger.kernel.org,
	Alexey Khoroshilov <khoroshilov@ispras.ru>
Subject: Re: [PATCH] ALSA: usb-audio: US16x08: Move overflow check before array access
Date: Mon, 13 Jun 2022 07:41:12 +0200	[thread overview]
Message-ID: <87edztt91j.wl-tiwai@suse.de> (raw)
In-Reply-To: <20220610165732.2904-1-d.dementev@ispras.ru>

On Fri, 10 Jun 2022 18:57:32 +0200,
Daniil Dementev wrote:
> 
> Buffer overflow could occur in the loop "while", due to accessing an
> array element before checking the index.
> 
> Found by Linux Verification Center (linuxtesting.org) with SVACE.
> 
> Signed-off-by: Daniil Dementev <d.dementev@ispras.ru>
> Reviewed-by: Alexey Khoroshilov <khoroshilov@ispras.ru>

Thanks, applied.


Takashi

  reply	other threads:[~2022-06-13  5:42 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-10 16:57 [PATCH] ALSA: usb-audio: US16x08: Move overflow check before array access Daniil Dementev
2022-06-10 16:57 ` Daniil Dementev
2022-06-13  5:41 ` Takashi Iwai [this message]
2022-06-13  5:41   ` Takashi Iwai

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87edztt91j.wl-tiwai@suse.de \
    --to=tiwai@suse.de \
    --cc=alsa-devel@alsa-project.org \
    --cc=d.dementev@ispras.ru \
    --cc=khoroshilov@ispras.ru \
    --cc=linux-kernel@vger.kernel.org \
    --cc=tiwai@suse.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.