[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <5225BE48.2080302@lockless.no>
Date: Tue, 03 Sep 2013 12:47:36 +0200
From: Dmitry Tarnyagin <dmitry.tarnyagin@...kless.no>
To: Dan Carpenter <dan.carpenter@...cle.com>
CC: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [patch] caif: add a sanity check to the tty name
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;
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists