From: Tom Rini <trini@konsulko.com>
To: u-boot@lists.denx.de
Subject: [U-Boot] mtdparts: Fix final outstanding issue reported by Coverity
Date: Sat, 26 Aug 2017 16:46:44 -0400 [thread overview]
Message-ID: <20170826204644.GO2827@bill-the-cat> (raw)
In-Reply-To: <1503273940-15623-1-git-send-email-trini@konsulko.com>
On Sun, Aug 20, 2017 at 08:05:40PM -0400, Tom Rini wrote:
> As part of fixing the previously reported issues, it was missed that in
> the case of mtdparts_init() we need to make sure that tmp_ep is long
> enough to contain PARTITION_MAXLEN and a NULL termination. Then, to be
> sure the buffer is NULL terminated, zero the entire buffer rather than
> just ensuring the first character is NULL.
>
> Cc: Lothar Waßmann <LW@KARO-electronics.de>
> Cc: Maxime Ripard <maxime.ripard@free-electrons.com>
> Reported-by: Coverity (CID: 166329)
> Signed-off-by: Tom Rini <trini@konsulko.com>
Applied to u-boot/master, thanks!
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170826/996d56eb/attachment.sig>
prev parent reply other threads:[~2017-08-26 20:46 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-21 0:05 [U-Boot] [PATCH] mtdparts: Fix final outstanding issue reported by Coverity Tom Rini
2017-08-26 20:46 ` Tom Rini [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=20170826204644.GO2827@bill-the-cat \
--to=trini@konsulko.com \
--cc=u-boot@lists.denx.de \
/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