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

Re: [Xen-devel] [PATCH v4 03/13] libxl: add vdispl device



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.

Ian.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxx
https://lists.xen.org/xen-devel

 


Rackspace

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