> > + xen_sysctl_t op = > > + { > > + .cmd = XEN_SYSCTL_livepatch_op, > > + .interface_version = interface_version, > > + .u.livepatch = { > > + .cmd = XEN_SYSCTL_LIVEPATCH_UPLOAD, > > + .u.upload = { > > + .name = { > > + .name.p = TEST_NAME, > > + .size = sizeof(TEST_NAME), > > Do we seriously send the number of characters in the name, rather than > treating it like a NULL terminated string within the reasonable bound?
We do have an upper-limit at which it will fail (128 characters). But the user is welcome to use a lower limit. > > ~Andrew > > _______________________________________________ > Xen-devel mailing list > Xen-devel@lists.xen.org > https://lists.xen.org/xen-devel _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org https://lists.xen.org/xen-devel