[Ttssh2-commit] [7418] memset()のサイズ誤り

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2019年 1月 28日 (月) 23:15:56 JST


Revision: 7418
          http://sourceforge.jp/projects/ttssh2/scm/svn/commits/7418
Author:   zmatsuo
Date:     2019-01-28 23:15:56 +0900 (Mon, 28 Jan 2019)
Log Message:
-----------
memset()のサイズ誤り

Modified Paths:
--------------
    branches/cmake/teraterm/ttpcmn/ttcmn_notify.c

-------------- next part --------------
Modified: branches/cmake/teraterm/ttpcmn/ttcmn_notify.c
===================================================================
--- branches/cmake/teraterm/ttpcmn/ttcmn_notify.c	2019-01-28 14:15:46 UTC (rev 7417)
+++ branches/cmake/teraterm/ttpcmn/ttcmn_notify.c	2019-01-28 14:15:56 UTC (rev 7418)
@@ -79,7 +79,7 @@
 		CommonNotifyData *CmnNotifyData = &CmnNotifyDataPool;
 #endif
 		NOTIFYICONDATA *notify_icon;
-		memset(CmnNotifyData, 0, sizeof(CmnNotifyData));
+		memset(CmnNotifyData, 0, sizeof(* CmnNotifyData));
 		cv->CmnNotifyData = CmnNotifyData;
 
 		notify_icon = &CmnNotifyData->notify_icon;


Ttssh2-commit メーリングリストの案内
Back to archive index