diff options
author | Robert Pösel <robyer@seznam.cz> | 2015-12-19 17:05:46 +0000 |
---|---|---|
committer | Robert Pösel <robyer@seznam.cz> | 2015-12-19 17:05:46 +0000 |
commit | 9b76f4f1e734be9cfb8d3cbd2823b668248a3462 (patch) | |
tree | dff9afcb8b7711bd4de052744cf9bf1fe33c5731 /protocols/Steam | |
parent | b621abd5fa5c6e452d6627b362b62e415246684d (diff) |
Steam: Fix potential null pointer dereferencing (thanks Wishmaster)
git-svn-id: http://svn.miranda-ng.org/main/trunk@15898 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Steam')
-rw-r--r-- | protocols/Steam/src/steam_login.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Steam/src/steam_login.cpp b/protocols/Steam/src/steam_login.cpp index 612af3496c..7000a0942d 100644 --- a/protocols/Steam/src/steam_login.cpp +++ b/protocols/Steam/src/steam_login.cpp @@ -300,7 +300,7 @@ void CSteamProto::OnLoggedOn(const HttpResponse *response) { if (!CheckResponse(response)) { - if (response->resultCode == HTTP_CODE_UNAUTHORIZED) + if (response && response->resultCode == HTTP_CODE_UNAUTHORIZED) { // Probably expired TokenSecret HandleTokenExpired(); |