IBM Support

IT31756: MEMORY VIOLATION IN ODBCFILEOPEN WHEN PASSING A STRING PARAMETERLONGER THAN 32K

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

 

APAR status

  • Closed as program error.

Error description

  • Executing a prepared statement with a string parameter longer
    than 32k may cause a memory violation with the following stack:
    
        IFMXCONN!OdbcFileOpen+0x2c
        IFMXCONN!OdbcSqsString+0x56
        IFMXCONN!OdbcPutAsfStringVal+0x18b
        IFMXCONN!OdbcExtString2IntChar+0xc7
        IFMXCONN!OdbcPutBindings+0x237
        IFMXCONN!OdbcAssignInputParams+0x16c
        IFMXCONN!OdbcExecute+0x33f
        IFMXCONN!IfmxExecute+0x1ca
        IFMXCONN!IfmxStmt::Execute+0xd
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    * Users of Informix Client SDK 4.10.xC12 and possibly earlier  *
    * versions.                                                    *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    * MEMORY VIOLATION IN ODBCFILEOPEN WHEN PASSING A STRING       *
    * PARAMETER                                                    *
    * LONGER THAN 32K                                              *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    

Problem conclusion

  • Upgrade to Informix Client SDK 4.10.xC14 or later.
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT31756

  • Reported component name

    IBM CSDK

  • Reported component ID

    5724C2381

  • Reported release

    410

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-02-04

  • Closed date

    2020-03-03

  • Last modified date

    2020-03-03

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    IBM CSDK

  • Fixed component ID

    5724C2381

Applicable component levels

[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSCVRDE","label":"Informix Client Software Development Kit"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"4.1","Edition":"","Line of Business":{"code":"LOB10","label":"Data and AI"}}]

Document Information

Modified date:
27 March 2020