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: <87fugcvyx5.fsf@kamboji.qca.qualcomm.com> Date: Thu, 11 May 2017 06:45:58 +0300 From: Kalle Valo <kvalo@...eaurora.org> To: Joe Perches <joe@...ches.com> Cc: Kees Cook <keescook@...omium.org>, netdev@...r.kernel.org, libertas-dev@...ts.infradead.org, linux-wireless@...r.kernel.org, Daniel Micay <danielmicay@...il.com>, linux-kernel@...r.kernel.org Subject: Re: [PATCH] libertas: Avoid reading past end of buffer Joe Perches <joe@...ches.com> writes: > unrelated trivia: > > lbs_deb_enter is used incorrectly here at > function exit as both enter and leave calls. > > That type of copy/paste defect may be common. > > $ git grep -w lbs_deb_enter | wc -l > 148 > $ git grep -w lbs_deb_leave | wc -l > 71 > > One would expect these numbers to be the same. > > Another option would be to delete all these > calls as ftrace function tracing works well. Yeah, deleting all the enter/exit calls would be better. -- Kalle Valo
Powered by blists - more mailing lists