charm AT lists.siebelschool.illinois.edu
Subject: Charm++ parallel programming system
List archive
- From: Tom Quinn <trq AT astro.washington.edu>
- To: charm AT cs.uiuc.edu
- Subject: [charm] ckerr memory overflow
- Date: Wed, 24 Mar 2010 14:19:09 -0700 (PDT)
- List-archive: <http://lists.cs.uiuc.edu/pipermail/charm>
- List-id: CHARM parallel programming system <charm.cs.uiuc.edu>
"ckerr << string;" can trash memory with long strings. There is
a small buffer which is used by an sprintf(). Using a string greater
than 1024 will overflow this buffer and cause memory corruption. It would be a good idea to use "snprintf()" to avoid this.
Tom Quinn Astronomy, University of Washington
Internet:
trq AT astro.washington.edu
Phone: 206-685-9009
- [charm] ckerr memory overflow, Tom Quinn, 03/24/2010
- Re: [charm] ckerr memory overflow, Gengbin Zheng, 03/26/2010
Archive powered by MHonArc 2.6.16.