From: Kalle Valo <kvalo@codeaurora.org>
To: "Rafał Miłecki" <zajec5@gmail.com>
Cc: linux-wireless@vger.kernel.org,
"Hauke Mehrtens" <hauke@hauke-m.de>,
"Joe Perches" <joe@perches.com>,
"Rafał Miłecki" <rafal@milecki.pl>
Subject: Re: [4.17] bcma: fix buffer size caused crash in bcma_core_mips_print_irq()
Date: Sat, 12 May 2018 08:37:35 +0000 (UTC) [thread overview]
Message-ID: <20180512083735.D82496085F@smtp.codeaurora.org> (raw)
In-Reply-To: <20180508093104.27018-1-zajec5@gmail.com>
Rafał Miłecki wrote:
> From: Rafał Miłecki <rafal@milecki.pl>
>
> Used buffer wasn't big enough to hold whole strings. Example output of
> this function is:
> [ 0.180892] bcma: bus0: core 0x0800, irq: 2(S)* 3 4 5 6 D I
> [ 0.180948] bcma: bus0: core 0x0812, irq: 2(S) 3* 4 5 6 D I
> [ 0.180998] bcma: bus0: core 0x082d, irq: 2(S) 3 4* 5 6 D I
> [ 0.181046] bcma: bus0: core 0x082c, irq: 2(S) 3 4 5 6 D I*
> which means we need to store up to 24 chars.
>
> Fixes: 758f7e06063a8 ("bcma: Use bcma_debug and not pr_cont in MIPS driver")
> Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
> Cc: stable@vger.kernel.org # v4.15+
Patch applied to wireless-drivers.git, thanks.
361de091a4b9 bcma: fix buffer size caused crash in bcma_core_mips_print_irq()
--
https://patchwork.kernel.org/patch/10385861/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches
prev parent reply other threads:[~2018-05-12 8:37 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-05-08 9:31 [PATCH 4.17] bcma: fix buffer size caused crash in bcma_core_mips_print_irq() Rafał Miłecki
2018-05-08 10:06 ` Kalle Valo
2018-05-08 16:47 ` Joe Perches
2018-05-12 8:37 ` Kalle Valo [this message]
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=20180512083735.D82496085F@smtp.codeaurora.org \
--to=kvalo@codeaurora.org \
--cc=hauke@hauke-m.de \
--cc=joe@perches.com \
--cc=linux-wireless@vger.kernel.org \
--cc=rafal@milecki.pl \
--cc=zajec5@gmail.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.