From: Christopher Li <sparse@chrisli.org>
To: Masatake YAMATO <yamato@redhat.com>
Cc: Linux-Sparse <linux-sparse@vger.kernel.org>
Subject: Re: [PATCH 1/3] Warn about initialization of a char array with a too long constant C string.
Date: Mon, 22 Apr 2013 09:42:12 -0700 [thread overview]
Message-ID: <CANeU7Qmg15kHmR3_x20yBEa6dPGmYK7xms+vZzWzdRTjcB+OSw@mail.gmail.com> (raw)
In-Reply-To: <1365267537-3787-1-git-send-email-yamato@redhat.com>
On Sat, Apr 6, 2013 at 9:58 AM, Masatake YAMATO <yamato@redhat.com> wrote:
> This patch adds new option -Winit-cstring to sparse.
>
> With the option sparse can Warn about initialization of a char array
> with a too long constant C string. If the size of the char array and
> the length of the string is the same, there is no space for the last
> nul char of the string in the array.
Patches applied.
Chris
prev parent reply other threads:[~2013-04-22 16:42 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-06 16:58 [PATCH 1/3] Warn about initialization of a char array with a too long constant C string Masatake YAMATO
2013-04-06 16:58 ` [PATCH 2/3] Test case for -Winit-cstring option Masatake YAMATO
2013-04-06 16:58 ` [PATCH 3/3] Add description " Masatake YAMATO
2013-04-22 16:42 ` Christopher Li [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=CANeU7Qmg15kHmR3_x20yBEa6dPGmYK7xms+vZzWzdRTjcB+OSw@mail.gmail.com \
--to=sparse@chrisli.org \
--cc=linux-sparse@vger.kernel.org \
--cc=yamato@redhat.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).