wsd: fix missing tile cache check in ClientSession::getCommandValues()
Signed-off-by: Miklos Vajna <vmiklos@collabora.com> Change-Id: I59d0c4863493a02df7a05b98648eb235840f8060
This commit is contained in:
parent
bcb6dcd9a7
commit
4278b601f6
2 changed files with 1 additions and 1 deletions
BIN
fuzzer/data/crash-e149784c49ad8532167d56646d62b6458277f4f8
Normal file
BIN
fuzzer/data/crash-e149784c49ad8532167d56646d62b6458277f4f8
Normal file
Binary file not shown.
|
@ -1204,7 +1204,7 @@ bool ClientSession::getCommandValues(const char *buffer, int length, const Strin
|
|||
return sendTextFrameAndLogError("error: cmd=commandvalues kind=syntax");
|
||||
|
||||
std::string cmdValues;
|
||||
if (docBroker->tileCache().getTextStream(TileCache::StreamType::CmdValues, command, cmdValues))
|
||||
if (docBroker->hasTileCache() && docBroker->tileCache().getTextStream(TileCache::StreamType::CmdValues, command, cmdValues))
|
||||
return sendTextFrame(cmdValues);
|
||||
|
||||
return forwardToChild(std::string(buffer, length), docBroker);
|
||||
|
|
Loading…
Reference in a new issue