From: Dmitry Tarnyagin <dmitry.tarnyagin@lockless.no>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: netdev@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [patch] caif: add a sanity check to the tty name
Date: Tue, 03 Sep 2013 12:47:36 +0200 [thread overview]
Message-ID: <5225BE48.2080302@lockless.no> (raw)
In-Reply-To: <20130903090232.GA4351@elgon.mountain>
Hi Dan,
Agree, thank you!
With best regards,
Dmitry
Den 03. sep. 2013 11:02, skrev Dan Carpenter:
> - sprintf(name, "cf%s", tty->name);
> + result = snprintf(name, sizeof(name), "cf%s", tty->name);
> + if (result >= IFNAMSIZ)
> + return -EINVAL;
next prev parent reply other threads:[~2013-09-03 10:47 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-09-03 9:02 [patch] caif: add a sanity check to the tty name Dan Carpenter
2013-09-03 10:47 ` Dmitry Tarnyagin [this message]
2013-09-04 4:54 ` David Miller
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=5225BE48.2080302@lockless.no \
--to=dmitry.tarnyagin@lockless.no \
--cc=dan.carpenter@oracle.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=netdev@vger.kernel.org \
/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).