Messages in this thread | | | Date | Fri, 17 May 2019 11:39:24 -0700 (PDT) | Subject | Re: [PATCH] net: caif: fix the value of size argument of snprintf | From | David Miller <> |
| |
From: Weikang shi <swkhack@gmail.com> Date: Fri, 17 May 2019 15:59:22 +0800
> From: swkhack <swkhack@gmail.com> > > Because the function snprintf write at most size bytes(including the > null byte).So the value of the argument size need not to minus one. > > Signed-off-by: swkhack <swkhack@gmail.com>
Applied.
| |