|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] Re: [PATCH v2 02/12] tools/xenstored: add helper to parse domid
On Fri, Mar 20, 2026 at 04:01:10PM +0100, Juergen Gross wrote: > Today a domid passed in by a command is parsed using atoi(). This > will still "succeed" even with a domid like "x", resulting in "0" to > be used instead. > > Use a common domid parser instead rejecting everything but integers > in the range 0..65535 like specified in docs/misc/xenstore.txt. > > Signed-off-by: Juergen Gross <jgross@xxxxxxxx> > --- > V2: > - new patch (kind of suggested by Anthony Perard) Reviewed-by: Anthony PERARD <anthony.perard@xxxxxxxxxx> Thanks, -- Anthony Perard | Vates XCP-ng Developer XCP-ng & Xen Orchestra - Vates solutions web: https://vates.tech
|
![]() |
Lists.xenproject.org is hosted with RackSpace, monitoring our |