Re: [B.A.T.M.A.N.] [PATCH] batctl: Remove manual \0 terminator after snprintf

Marek Lindner
2015-04-20T04:02:14Z

[-- Attachment #1: Type: text/plain, Size: 443 bytes --]

On Tuesday, March 17, 2015 08:50:25 Sven Eckelmann wrote:
> snprintf already guarantees \0 terminated strings for size arguments is > 0.
>
> Reported-by: Anatoliy Lapitskiy <anatoliy.lapitskiy@gmail.com>
> Signed-off-by: Sven Eckelmann <sven@narfation.org>
> ---
> bisect_iv.c | 4 ----
> debugfs.c | 1 -
> sys.c | 14 +-------------
> 3 files changed, 1 insertion(+), 18 deletions(-)

Applied in revision 8c596e1.

Thanks,
Marek

[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 473 bytes --]