"git@repo.hca.bsc.es:rferrer/llvm-epi-0.8.git" did not exist on "c656d3e1112962532cb0f03127326594a1635bee"
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