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). Ian. _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel