diff options
Diffstat (limited to 'kernel/net/sctp/sysctl.c')
-rw-r--r-- | kernel/net/sctp/sysctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/net/sctp/sysctl.c b/kernel/net/sctp/sysctl.c index 26d50c565..3e0fc5127 100644 --- a/kernel/net/sctp/sysctl.c +++ b/kernel/net/sctp/sysctl.c @@ -320,7 +320,7 @@ static int proc_sctp_do_hmac_alg(struct ctl_table *ctl, int write, struct ctl_table tbl; bool changed = false; char *none = "none"; - char tmp[8]; + char tmp[8] = {0}; int ret; memset(&tbl, 0, sizeof(struct ctl_table)); |