Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1616657

Re: [1/2] wireless: ath9k_htc: fix NULL-deref at probe

From Kalle Valo <kvalo@qca.qualcomm.com>
Newsgroups linux.kernel
Subject Re: [1/2] wireless: ath9k_htc: fix NULL-deref at probe
Date 2017-04-05 09:40 +0200
Message-ID <tsNHQ-85H-17@gated-at.bofh.it> (permalink)
References <tkxAe-ys-43@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Johan Hovold <johan@kernel.org> wrote:
> Make sure to check the number of endpoints to avoid dereferencing a
> NULL-pointer or accessing memory beyond the endpoint array should a
> malicious device lack the expected endpoints.
> 
> Fixes: 36bcce430657 ("ath9k_htc: Handle storage devices")
> Cc: Sujith Manoharan <Sujith.Manoharan@atheros.com>
> Signed-off-by: Johan Hovold <johan@kernel.org>

Patch applied to ath-next branch of ath.git, thanks.

ebeb36670eca ath9k_htc: fix NULL-deref at probe

-- 
https://patchwork.kernel.org/patch/9620723/

Documentation about submitting wireless patches and checking status
from patchwork:

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

Re: [1/2] wireless: ath9k_htc: fix NULL-deref at probe Kalle Valo <kvalo@qca.qualcomm.com> - 2017-04-05 09:40 +0200

csiph-web