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

Re: [PATCH v1] tools: fix usage of strncpy



Am Tue, 9 Jun 2020 08:33:12 -0400
schrieb Jason Andryuk <jandryuk@xxxxxxxxx>:

> What version of gcc are you using?  I was using 9.x and it didn't warn from 
> what I can remember.

This is gcc10 from current Tumbleweed. For libxl strcpy will certainly work 
because the length check is done prior the copying of data.

Olaf

Attachment: pgpGcqbsKxHug.pgp
Description: Digitale Signatur von OpenPGP


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.