On Tue, Sep 05, 2017 at 01:58:53PM +0100, Ian Jackson wrote: > Wei Liu writes ("Re: [PATCH v4 03/13] libxl: add vdispl device"): > > > + rc = snprintf(connector_path, 128, "%s/%d", path, > > > info->num_connectors); > > Why not use GCSPRINTF ? These statically sized buffers etc. are an > invitation to bugs.
Right, that's a better suggestion. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel