]> sourceware.org Git - lvm2.git/commit
cleanup: skip zeroing buffer overwritten by memcpy
authorZdenek Kabelac <zkabelac@redhat.com>
Fri, 1 Oct 2021 12:25:59 +0000 (14:25 +0200)
committerZdenek Kabelac <zkabelac@redhat.com>
Wed, 6 Oct 2021 13:43:31 +0000 (15:43 +0200)
commit197f6aaad71b6da801ba02b53c65f99b98a15991
tree6c5fd145bf154b1b7de18d1d13fea0a5f412d607
parent79e65a3596dc4fef1d7ac74fe727e9c24a539afb
cleanup: skip zeroing buffer overwritten by memcpy

Since the buffer is going to be overwritten by memcpy, reset only last
char to 0.

Also more use of DM_LIST_INIT list.h macro.
lib/format_text/format-text.c
lib/metadata/metadata.c
This page took 0.032664 seconds and 5 git commands to generate.