[Pkg-gridengine-devel] Bug#609076: Incorrect use of memset count/value

Silvio Cesare silvio.cesare at gmail.com
Thu Jan 6 01:57:58 UTC 2011


Package: gridengine-qmon
Version: 6.2-4
Severity: minor

./gridengine_6.2/source/clients/qmon/qmon_cluster.c
   memset((void*)clen, sizeof(tCClEntry), 0);
   ...

./gridengine_6.2/source/clients/qmon/qmon_qaction.c
   memset((void*)data, sizeof(tQCEntry), 0);
   ...

./gridengine_6.2/source/daemons/common/admin_mail.c
      memset(admail_times, sizeof(admail_times), 0);
      ...

The above files have those lines and other uses of memset where the
count/value is in the wrong position. It should be memset(x,0,y);
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-gridengine-devel/attachments/20110106/68c375ec/attachment.htm>


More information about the Pkg-gridengine-devel mailing list