Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1169614

Re: [PATCH] cxgb3: avoid needless buffer copy for firmware

From David Miller <davem@davemloft.net>
Newsgroups linux.kernel
Subject Re: [PATCH] cxgb3: avoid needless buffer copy for firmware
Date 2015-06-21 18:40 +0200
Message-ID <pDQrM-24S-19@gated-at.bofh.it> (permalink)
References <pC7Gp-7G6-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


From: Kees Cook <keescook@chromium.org>
Date: Tue, 16 Jun 2015 15:36:17 -0700

> There's no reason to perform a buffer copy for the firmware name. This
> also avoids a (currently impossible with current callers) NULL dereference
> if there was no matching firmware.
> 
> Signed-off-by: Kees Cook <keescook@chromium.org>

Applied to net-next, thanks.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
Please read the FAQ at  http://www.tux.org/lkml/

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] cxgb3: avoid needless buffer copy for firmware Kees Cook <keescook@chromium.org> - 2015-06-17 00:40 +0200
  Re: [PATCH] cxgb3: avoid needless buffer copy for firmware David Miller <davem@davemloft.net> - 2015-06-21 18:40 +0200

csiph-web