From e63926f79d51119b829d683983e562527f7dd10a Mon Sep 17 00:00:00 2001 From: Rozhuk Ivan Date: Thu, 4 Dec 2014 23:42:36 +0000 Subject: Db_autobackups: multiple changes + varios fixs git-svn-id: http://svn.miranda-ng.org/main/trunk@11245 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Yahoo/src/libyahoo2/libyahoo2.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') diff --git a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp index 1ff4870a9a..58e21a74a7 100644 --- a/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp +++ b/protocols/Yahoo/src/libyahoo2/libyahoo2.cpp @@ -2780,7 +2780,7 @@ static void yahoo_process_mail(struct yahoo_input_data *yid, struct yahoo_packet if (who) { snprintf(from, sizeof(from), "\"%s\" <%s>", who, email); } else { - snprintf(from, sizeof(from), "%s", email); + strncpy_s(from, email, _TRUNCATE); } YAHOO_CALLBACK(ext_yahoo_mail_notify)(yd->client_id, from, subj, count); -- cgit v1.2.3