lists.openwall.net | lists / announce owl-users owl-dev john-users john-dev passwdqc-users yescrypt popa3d-users / oss-security kernel-hardening musl sabotage tlsify passwords / crypt-dev xvendor / Bugtraq Full-Disclosure linux-kernel linux-netdev linux-ext4 linux-hardening linux-cve-announce PHC | |
Open Source and information security mailing list archives
| ||
|
Message-Id: <20160903100441.E591B6201F@smtp.codeaurora.org> Date: Sat, 3 Sep 2016 10:04:41 +0000 (UTC) From: Kalle Valo <kvalo@...eaurora.org> To: Christophe Jaillet <christophe.jaillet@...adoo.fr> Cc: akarwar@...vell.com, nishants@...vell.com, linux-wireless@...r.kernel.org, netdev@...r.kernel.org, linux-kernel@...r.kernel.org, kernel-janitors@...r.kernel.org, Christophe JAILLET <christophe.jaillet@...adoo.fr> Subject: Re: [1/2] mwifiex: fix the length parameter of a memset Christophe Jaillet <christophe.jaillet@...adoo.fr> wrote: > In 'mwifiex_get_ver_ext', we have: > struct mwifiex_ver_ext ver_ext; > > memset(&ver_ext, 0, sizeof(struct host_cmd_ds_version_ext)); > > This is likely that memset'ing sizeof(struct mwifiex_ver_ext) was expected. > Remove the ambiguity by using the variable name directly instead of its > type. > > Signed-off-by: Christophe JAILLET <christophe.jaillet@...adoo.fr> Thanks, 2 patches applied to wireless-drivers-next.git: ba852018d493 mwifiex: fix the length parameter of a memset 6a1622000ac9 mwifiex: simplify length computation for some memset -- Sent by pwcli https://patchwork.kernel.org/patch/9266889/
Powered by blists - more mailing lists