Chen Gang
2e85d67690
net/rds: zero last byte for strncpy
...
for NUL terminated string, need be always sure '\0' in the end.
additional info:
strncpy will pads with zeroes to the end of the given buffer.
should initialise every bit of memory that is going to be copied to userland
Signed-off-by: Chen Gang <gang.chen@asianux.com>
Signed-off-by: Ben Hutchings <bhutchings@solarflare.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2013-03-08 00:35:44 -05:00
..
2013-02-27 19:10:24 -08:00
2013-02-11 14:16:26 -05:00
2013-02-18 14:53:08 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-03-07 16:32:19 -05:00
2013-03-04 14:12:07 -05:00
2013-02-27 19:10:24 -08:00
2013-02-28 17:43:09 -08:00
2013-03-06 02:47:06 -05:00
2012-12-10 14:09:01 -05:00
2013-02-21 12:05:51 -08:00
2013-02-27 19:10:24 -08:00
2012-12-16 15:40:50 -08:00
2013-01-21 15:40:12 -05:00
2013-01-21 14:07:44 -05:00
2013-02-27 19:10:24 -08:00
2013-03-07 16:31:29 -05:00
2013-03-05 18:42:29 -08:00
2013-02-27 19:10:24 -08:00
2013-03-06 02:47:05 -05:00
2013-02-27 19:10:24 -08:00
2013-03-07 16:26:45 -05:00
2013-03-05 18:42:29 -08:00
2013-01-11 11:40:01 -08:00
2013-02-27 19:10:24 -08:00
2013-03-06 10:21:17 -05:00
2013-02-21 12:05:51 -08:00
2013-03-07 15:20:02 -05:00
2013-03-07 16:20:23 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-03-08 00:35:44 -05:00
2012-12-28 13:40:16 -08:00
2013-02-27 19:10:24 -08:00
2013-02-21 12:05:51 -08:00
2013-03-06 02:47:05 -05:00
2013-03-05 18:42:29 -08:00
2013-03-02 16:46:07 -08:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2013-02-18 15:02:51 -05:00
2012-04-15 12:44:40 -04:00
2013-03-06 10:21:17 -05:00
2013-02-27 19:10:24 -08:00
2013-02-27 19:10:24 -08:00
2012-09-26 21:10:25 -04:00
2013-02-21 12:05:51 -08:00
2013-02-10 19:41:08 -05:00
2013-02-26 20:16:07 -08:00
2012-11-18 20:32:45 -05:00