[MOAB-dev] size of temp_name in Tqdcfr

Tim Tautges tautges at mcs.anl.gov
Thu Jan 6 11:04:17 CST 2011


How 'bout 1024.

- tim

On 01/06/2011 10:57 AM, Rajeev Jain wrote:
> I was getting *** stack smashing detected ***: ../../coregen terminated
> error when reading a cub file.
> There is a char variable: char temp_name[80]; in routine:
> Tqdcfr::parse_acis_attribs (line: 2282).
>
> Increasing the size of temp_name solves the problem. Please let me know
> what should be the size of this variable.
>
> Rajeev
>
>

-- 
================================================================
"You will keep in perfect peace him whose mind is
   steadfast, because he trusts in you."               Isaiah 26:3

              Tim Tautges            Argonne National Laboratory
          (tautges at mcs.anl.gov)      (telecommuting from UW-Madison)
          phone: (608) 263-8485      1500 Engineering Dr.
            fax: (608) 263-4499      Madison, WI 53706



More information about the moab-dev mailing list