mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Markus Elfring <Markus.Elfring@web.de>
To: kernel-janitors@vger.kernel.org, devel@driverdev.osuosl.org,
	Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
	"J. Bruce Fields" <bfields@redhat.com>,
	Aditya Pakki <pakki001@umn.edu>, Kangjie Lu <kjlu@umn.edu>,
	Navid Emamdoost <emamd001@umn.edu>
Cc: LKML <linux-kernel@vger.kernel.org>, Stephen McCamant <smccaman@umn.edu>
Subject: staging: wlan-ng: Checking a kmemdup() call in prism2sta_inf_hostscanresults()
Date: Fri, 11 Oct 2019 17:33:17 +0200	[thread overview]
Message-ID: <cd77c9fd-47dd-28ae-33b3-c9b36bea078b@web.de> (raw)

Hello,

I have tried another script for the semantic patch language out.
This source code analysis approach points out that the implementation
of the function “prism2sta_inf_hostscanresults” contains still
an unchecked call of the function “kmemdup”.
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/tree/drivers/staging/wlan-ng/prism2sta.c?id=26a7ae2949a86e1b74e2485d725efb528e2a81bb#n1086
https://elixir.bootlin.com/linux/v5.4-rc2/source/drivers/staging/wlan-ng/prism2sta.c#L1086

How do you think about to improve it?

Regards,
Markus

                 reply	other threads:[~2019-10-11 15:33 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=cd77c9fd-47dd-28ae-33b3-c9b36bea078b@web.de \
    --to=markus.elfring@web.de \
    --cc=bfields@redhat.com \
    --cc=devel@driverdev.osuosl.org \
    --cc=emamd001@umn.edu \
    --cc=gregkh@linuxfoundation.org \
    --cc=kernel-janitors@vger.kernel.org \
    --cc=kjlu@umn.edu \
    --cc=linux-kernel@vger.kernel.org \
    --cc=pakki001@umn.edu \
    --cc=smccaman@umn.edu \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®