From: <mar...@us...> - 2013-06-28 06:23:21
|
Revision: 14458 http://sourceforge.net/p/gphoto/code/14458 Author: marcusmeissner Date: 2013-06-28 06:23:14 +0000 (Fri, 28 Jun 2013) Log Message: ----------- fixed wrong sizeof (Coverity) Modified Paths: -------------- trunk/libgphoto2/camlibs/mars/mars.c Modified: trunk/libgphoto2/camlibs/mars/mars.c =================================================================== --- trunk/libgphoto2/camlibs/mars/mars.c 2013-06-28 06:22:17 UTC (rev 14457) +++ trunk/libgphoto2/camlibs/mars/mars.c 2013-06-28 06:23:14 UTC (rev 14458) @@ -67,7 +67,7 @@ { char c[16]; unsigned char status = 0; - memset(info,0, sizeof(info)); + memset(info,0, sizeof(*info)); memset(c,0,sizeof(c)); GP_DEBUG("Running mars_init\n"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |