[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [help-cgicc] string > 16 characters

From: Alexander J. Oss
Subject: Re: [help-cgicc] string > 16 characters
Date: Thu, 26 Dec 2002 12:58:52 -0500

I'm sorry if this is a silly question, but I don't see a dbgheap.c in the
cgicc library...

----- Original Message -----
From: "Vitaliy" <address@hidden>
To: <address@hidden>
Sent: Wednesday, December 25, 2002 3:57 PM
Subject: [help-cgicc] string > 16 characters

Hi there,

   here is my code:

      const_form_iterator sValue = cgi.getElement("sValue");
      if (...)
         string str = **sValue;

   here is the problem:

   everything works correct, but if string value > 16 characters
   next assert fails (dbgheap.c):

         * If this ASSERT fails, a bad pointer has been passed in. It may be
         * totally bogus, or it may have been allocated from another heap.
         * The pointer MUST come from the 'local' heap.

   what I did wrong, and what should I do?

   N.B. all strings < 16 characters works good!
Best regards,
 Vitaliy                          mailto:address@hidden

help-cgicc mailing list

reply via email to

[Prev in Thread] Current Thread [Next in Thread]