aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/isdn/i4l/isdn_tty.c
diff options
context:
space:
mode:
authorChen Gang <gang.chen@asianux.com>2013-03-07 17:19:32 +0000
committerDavid S. Miller <davem@davemloft.net>2013-03-08 00:35:44 -0500
commit2e85d67690cf3ea3f074a6e872f675226883fe7f (patch)
tree12412103c1a5bfde782c1692231bd40844267c73 /drivers/isdn/i4l/isdn_tty.c
parentbnx2x: Fix SFP+ misconfiguration in iSCSI boot scenario (diff)
downloadlinux-dev-2e85d67690cf3ea3f074a6e872f675226883fe7f.tar.xz
linux-dev-2e85d67690cf3ea3f074a6e872f675226883fe7f.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions