All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/2] Introduce l_memdup function
@ 2015-01-16  9:13 Jukka Rissanen
  2015-01-16  9:13 ` [PATCH 1/2] util: Add l_memdup function for allocation and copying a memory buffer Jukka Rissanen
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Jukka Rissanen @ 2015-01-16  9:13 UTC (permalink / raw)
  To: ell

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

Hi,

this patch introduces new l_memdup() function in patch 1.

The new function is then used in patch 2. The genl.c was the only
place in the code base where such a change could be done (at least I
could not spot any other place having malloc+memcpy in the code after
quick review).

Cheers,
Jukka

Jukka Rissanen (2):
  util: Add l_memdup function for allocation and copying a memory buffer
  genl: Convert l_malloc + memcpy to use l_memdup

 ell/genl.c |  4 +---
 ell/util.c | 23 +++++++++++++++++++++++
 ell/util.h |  2 ++
 3 files changed, 26 insertions(+), 3 deletions(-)

-- 
1.8.3.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-01-16 16:50 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-16  9:13 [PATCH 0/2] Introduce l_memdup function Jukka Rissanen
2015-01-16  9:13 ` [PATCH 1/2] util: Add l_memdup function for allocation and copying a memory buffer Jukka Rissanen
2015-01-16  9:13 ` [PATCH 2/2] genl: Convert l_malloc + memcpy to use l_memdup Jukka Rissanen
2015-01-16 16:50 ` [PATCH 0/2] Introduce l_memdup function Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.