lkml.org 
[lkml]   [2019]   [May]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH] net: caif: fix the value of size argument of snprintf
From
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.

\
 
 \ /
  Last update: 2019-05-17 20:42    [W:0.085 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site