Signed-off-by: Ben Chalmers <ben.chalmers@citrix.com>
Signed-off-by: Paul Durrant <paul.durrant@citrix.com>
if (!__IsValidStr(Value, InLen - Length))
goto fail3;
- status = XENBUS_STORE(Printf, &Fdo->StoreInterface, NULL, NULL, Buffer, Value);
+ status = XENBUS_STORE(Printf, &Fdo->StoreInterface, NULL, NULL, Buffer, "%s", Value);
if (!NT_SUCCESS(status))
goto fail4;
NULL){
goto fail4;
}
- status = XENBUS_STORE(Printf, &fdoData->StoreInterface, session->transaction, NULL, tmppath, tmpvalue);
+ status = XENBUS_STORE(Printf, &fdoData->StoreInterface, session->transaction, NULL, tmppath, "%s", tmpvalue);
Trace(" Write %s to %s (%p)\n", tmpvalue, tmppath, status);
UnlockSessions(fdoData);