On Wed, May 25, 2016 at 02:33:41PM +0100, Ian Jackson wrote: > Wei Liu writes ("[PATCH for-4.7] xl: use xstrdup in cpurange_parse"): > > This ensures buf is always valid when it is passed to strtok_r. > > > > CID: 1291936 > > > > Signed-off-by: Wei Liu <wei.l...@citrix.com> > > Acked-by: Ian Jackson <ian.jack...@eu.citrix.com> > > > This is a backport candidate. > > Really ? malloc failing is vanishingly rare in practice nowadays and > the consequence is a crash (which is what xstrdup achieves anyway). >
This is a fair argument. I will leave the judgement to you. If you don't think this is worth backporting I won't insist. :-) > Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel