diff options
author | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2015-12-09 17:27:30 +0000 |
---|---|---|
committer | Mike Belopuhov <mikeb@cvs.openbsd.org> | 2015-12-09 17:27:30 +0000 |
commit | 5b4f6a67180fe1a2aa2a3771d0fd09ba618d6a69 (patch) | |
tree | 53a8e48f17f969a0bff9d7da77a060160b45f4a2 /distrib/sets/lists/base/md.luna88k | |
parent | 0f93a6c9b5f6d88a6774761ddd517a3ae42b433d (diff) |
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.
Diffstat (limited to 'distrib/sets/lists/base/md.luna88k')
0 files changed, 0 insertions, 0 deletions