"git@repo.hca.bsc.es:rferrer/llvm-epi.git" did not exist on "700068206f6234953eb42970458d86a79c9d7fd8"
Fix a use-after-free in GDBRemoteCommunicationServerLLGS
Although it's called "GetString", StreamString::GetString actually returns a StringRef. Creating a json object with a StringRef does not make a copy, which means the StringRef will be dangling as soon as the underlying stream is destroyed. Add a .str() to force the json object to hold a copy of the string. This fixes nearly every test on linux. llvm-svn: 373572
Loading
Please register or sign in to comment