Thread (21 messages) 21 messages, 5 authors, 2013-04-23

Re: [PATCH 1/2] genetlink: trigger BUG_ON if a group name is too long

From: David Miller <davem@davemloft.net>
Date: 2013-03-20 16:07:07

From: Masatake YAMATO <redacted>
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 <redacted>
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.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help