diff --git a/dep/rcheevos/src/rurl/url.c b/dep/rcheevos/src/rurl/url.c index 4fc33bbb2..a8c04a0e0 100644 --- a/dep/rcheevos/src/rurl/url.c +++ b/dep/rcheevos/src/rurl/url.c @@ -166,8 +166,8 @@ int rc_url_get_badge_image(char* buffer, size_t size, const char* badge_name) { } int rc_url_login_with_password(char* buffer, size_t size, const char* user_name, const char* password) { - char urle_user_name[64]; - char urle_password[64]; + char urle_user_name[256]; + char urle_password[256]; int written; if (rc_url_encode(urle_user_name, sizeof(urle_user_name), user_name) != 0) { diff --git a/src/frontend-common/cheevos.cpp b/src/frontend-common/cheevos.cpp index 930fc28cc..e85d214c4 100644 --- a/src/frontend-common/cheevos.cpp +++ b/src/frontend-common/cheevos.cpp @@ -366,7 +366,7 @@ static void LoginASyncCallback(s32 status_code, const FrontendCommon::HTTPDownlo static void SendLogin(const char* username, const char* password, FrontendCommon::HTTPDownloader* http_downloader) { - char url[256] = {}; + char url[768] = {}; int res = rc_url_login_with_password(url, sizeof(url), username, password); Assert(res == 0);