CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2015/12/09 10:27:29
Modified files:
sys/dev/pv : xenstore.c
Log message:
Correct the response string length
Apparently length values returned by XenStore depend on which
operation has been requested: for instance XS_READ will always
return an strlen() result without accounting for the trailing
NUL character, however XS_LIST will return length that includes
it. While staying within our data buffer limit (xsm_dlen) we
can readjust the length of the resulting string accordingly.