Loading ...
Sorry, an error occurred while loading the content.

Re: Error message: "The pointer parameter passed to free or realloc is not valid."

Expand Messages
  • melrothman
    A new V5R1 PTF, SI03023 for 5722-DG1, fixes this problem. Here is an excerpt from the PTF cover letter: ... C2M1212 message logged on CGI POST ... The logic
    Message 1 of 4 , Mar 2, 2002
    • 0 Attachment
      A new V5R1 PTF, SI03023 for 5722-DG1, fixes this problem. Here is an
      excerpt from the PTF cover letter:

      DESCRIPTION OF PROBLEM FIXED FOR APAR SE04099:
      ---------------------------------------------
      C2M1212 message logged on CGI POST

      CORRECTION FOR APAR SE04099:
      ---------------------------
      The logic was not setting a pointer properly when a POST form
      had a blank entry field. The logic has been corrected.


      Mel Rothman, CGIDEV2 Author
      IBM eServer Custom Technology Center (eCTC), Rochester, Minnesota
      http://www-1.ibm.com/servers/eserver/iseries/service/ctc/
      http://www.easy400.ibm.it/en

      --- In Easy400Group@y..., "melrothman" <mel@r...> wrote:
      > An update: I talked to one of the HTTP developers who told me this
      > diagnostic message is issued when attempting to free storage that
      has
      > never been allocated. The message is harmless and the code causing
      > it probably will be fixed "in the next release."
      >
      > > --- In Easy400Group@y..., "Reeve Fritchman" <reeve@l...> wrote:
      > > > My server job gets these whenever I execute zhbGetInput.
      > > >
      > > > 0027.00
      > > > 0028.00 C eval nbrVars =
      > > > zhbgetinput(query_string:qusec)
      > > > 0030.00
      > > >
      > > >
      > > > From the server job log:
      > > >
      > > > Message ID . . . . . . : C2M1212
      > > Severity . . . . . . . : 30
      > > > Date sent . . . . . . : 12/16/01 Time
      sent . . . . . . :
      > > > 14:13:39
      > > > Message type . . . . . : Diagnostic
      > > > CCSID . . . . . . . . : 65535
      > > >
      > > > From program . . . . . . . . . : QC2UTIL1
      > > > From library . . . . . . . . : QSYS
      > > > From module . . . . . . . . : QC2ALLOC
      > > > From procedure . . . . . . . : free
      > > > From statement . . . . . . . : 1023
      > > >
      > > > To program . . . . . . . . . . : QZHBCGI
      > > > To library . . . . . . . . . : QHTTPSVR
      > > > To module . . . . . . . . . : CGIPARSE
      > > > To procedure . . . . . . . . : ParseForm__Fv
      > > > To statement . . . . . . . . : 1165
      > > >
      > > >
      > > > Is this an expected exception, or am I missing something else?
      I
      > > ran the
      > > > example offered on 11/15/2001 by Mel Rothman and see the same
      > error.
      > > >
      > > > Thanks,
      > > > rf
    Your message has been successfully submitted and would be delivered to recipients shortly.