[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130320.120705.58997943737455552.davem@davemloft.net>
Date: Wed, 20 Mar 2013 12:07:05 -0400 (EDT)
From: David Miller <davem@...emloft.net>
To: yamato@...hat.com
Cc: netdev@...r.kernel.org
Subject: Re: [PATCH 1/2] genetlink: trigger BUG_ON if a group name is too
long
From: Masatake YAMATO <yamato@...hat.com>
Date: Tue, 19 Mar 2013 20:47:27 +0900
> Trigger BUG_ON if a group name is longer than GENL_NAMSIZ.
>
> Signed-off-by: Masatake YAMATO <yamato@...hat.com>
Applied, thanks.
Although I'm disappointed that the compiler doesn't say anything about
this in the assignment.
We're assigning "char[16] = STRING" and it doesn't say anything if the
final NULL char doesn't fit into the array.
--
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