From: Wolfgang Denk <wd@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs.
Date: Thu, 31 Dec 2015 13:08:09 +0100 [thread overview]
Message-ID: <20151231120809.3F29A383C1F@gemini.denx.de> (raw)
In-Reply-To: <1451480758-8871-1-git-send-email-ben.whitten@gmail.com>
Dear ben.whitten at gmail.com,
In message <1451480758-8871-1-git-send-email-ben.whitten@gmail.com> you wrote:
> From: Ben Whitten <ben.whitten@gmail.com>
>
> With format-security errors turned on, GCC picks up the use of sprintf with
> a format parameter not being a string literal.
>
> Simple uses of sprintf are also converted to use strcpy.
>
> Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
> ---
> Changes for v2:
> - Replaced single string uses of sprintf with strcpy
> - Detected more occurrences of potential errors.
Acked-by: Wolfgang Denk <wd@denx.de>
Thanks!!
Best regards,
Wolfgang Denk
--
DENX Software Engineering GmbH, Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Ein weiser Herrscher kann in einem gro?en Land mehr Gutes bewirken
als in einem kleinen - ein dummer Herrscher aber auch viel mehr Un-
fug. Da weise Herrscher seltener sind als dumme, war ich schon immer
gegen gro?e Reiche skeptisch. - Herbert Rosendorfer
next prev parent reply other threads:[~2015-12-31 12:08 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-29 14:34 [U-Boot] [PATCH] Fix GCC format-security errors ben.whitten at gmail.com
2015-12-29 16:11 ` Wolfgang Denk
2015-12-30 13:05 ` [U-Boot] [PATCH v2] Fix GCC format-security errors and convert sprintfs ben.whitten at gmail.com
2015-12-31 12:08 ` Wolfgang Denk [this message]
2016-01-14 20:08 ` Tom Rini
2016-01-15 13:10 ` [U-Boot] [U-Boot, " Tom Rini
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=20151231120809.3F29A383C1F@gemini.denx.de \
--to=wd@denx.de \
--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