Skip to content
Permalink
Browse files
Merge pull request #8543 from jordan-woyak/gcode-download-minor-fix
Core/GeckoCode: Fix DownloadCodes function assuming HTTP data is null terminated.
  • Loading branch information
leoetlino committed Jan 4, 2020
2 parents a04d498 + b505004 commit 671defd
Showing 1 changed file with 1 addition and 1 deletion.
@@ -36,7 +36,7 @@ std::vector<GeckoCode> DownloadCodes(std::string gametdb_id, bool* succeeded)
std::vector<GeckoCode> gcodes;

// parse the codes
std::istringstream ss(reinterpret_cast<const char*>(response->data()));
std::istringstream ss(std::string(response->begin(), response->end()));

std::string line;

0 comments on commit 671defd

Please sign in to comment.