summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2013-06-12 19:43:48 +0000
committerGeorge Hazan <george.hazan@gmail.com>2013-06-12 19:43:48 +0000
commit288fb0da5d7a27929079b6cb2ec5c81a3444842c (patch)
tree8059aa2312f9b283f2de402a3b378df26b1dbbc3
parentfe2c3dda8f60afa17a18f3f687b9d5eb04ed5d07 (diff)
buffer overrun fixed
git-svn-id: http://svn.miranda-ng.org/main/trunk@4927 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Skype/src/skype_profile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Skype/src/skype_profile.cpp b/protocols/Skype/src/skype_profile.cpp
index ba77799948..48d3214052 100644
--- a/protocols/Skype/src/skype_profile.cpp
+++ b/protocols/Skype/src/skype_profile.cpp
@@ -65,7 +65,7 @@ void CSkypeProto::UpdateProfileBirthday(SEObject *obj, HANDLE hContact)
uint data = hContact ? obj->GetUintProp(Contact::P_BIRTHDAY) : obj->GetUintProp(Account::P_BIRTHDAY);
if (data > 0)
{
- TCHAR date[9];
+ TCHAR date[20];
_itot_s(data, date, 10);
INT day, month, year;