Re: [PATCH 12/16] xenParseXLUSBController: Avoid use of virStrndup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On a Tuesday in 2021, Peter Krempa wrote:
Use g_strndup with a freed buffer instead of the more complex approach
using virStrndup.

s/virStrndup/virStrncpy/ here and in the commit summary.


Signed-off-by: Peter Krempa <pkrempa@xxxxxxxxxx>
---
src/libxl/xen_xl.c | 51 ++++++++++------------------------------------
1 file changed, 11 insertions(+), 40 deletions(-)


Reviewed-by: Ján Tomko <jtomko@xxxxxxxxxx>

Jano

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux