IBM Support

IT34230: Memory overwrite error using amqssslc sample

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

  • A memory failure occurs when running the following command:
    
    amqssslc -m QM1-c QM1SVRCONN -x localhost -k certKey -s
    TLS_RSA_WITH_AES-128_CBC_SHA256 -o http://dumy.OCSP.responder
    
    A failure data capture (FDC) record similar to the following is
    produced:
    
    | Probe Id          :- XC006001
                  |
    | Component         :- xcsFreeMemFn
                  |
    | Program Name      :- amqssslc
                  |
    | Major Errorcode   :- xecS_I_PRIVATE_MEMORY_ERROR
                  |
    | Arith1            :- 16127680 (0xf616c0)
                  |
    | Comment1          :- invalid tail tag
                  |
    | Comment2          :- rriCopyMQSCO
                  |
    |
                  |
    +---------------------------------------------------------------
    --------------+
    MQM Function Stack
    MQCONNX
    MQCONNX
    reqDoConnect
    reqConnectChl
    reqFreeConnSess
    reqFreeSess
    rriFreeSess
    ccxFreeSocket
    RemoveFreeChain
    xcsFreeMemFn
    xcsFFST
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    Users of the amqssslc sample program may be affected by this
    issue.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    An incorrectly sized buffer allocation caused a later memory
    operation to write past the end of the buffer.
    

Problem conclusion

  • The code has been modified so that the correct size is used when
    allocating the buffer.
    
    ---------------------------------------------------------------
    The fix is targeted for delivery in the following PTFs:
    
    Version    Maintenance Level
    v9.1 LTS   9.1.0.9
    v9.2 LTS   9.2.0.3
    v9.x CD    9.2.1
    
    The latest available maintenance can be obtained from
    'WebSphere MQ Recommended Fixes'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006037
    
    If the maintenance level is not yet available information on
    its planned availability can be found in 'WebSphere MQ
    Planned Maintenance Release Dates'
    http://www-1.ibm.com/support/docview.wss?rs=171&uid=swg27006309
    ---------------------------------------------------------------
    

Temporary fix

Comments

APAR Information

  • APAR number

    IT34230

  • Reported component name

    IBM MQ BASE MP

  • Reported component ID

    5724H7271

  • Reported release

    910

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2020-09-16

  • Closed date

    2021-05-13

  • Last modified date

    2021-07-06

  • 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 MQ BASE MP

  • Fixed component ID

    5724H7271

Applicable component levels

[{"Type":"MASTER","Line of Business":{"code":"LOB36","label":"IBM Automation"},"Business Unit":{"code":"BU053","label":"Cloud & Data Platform"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"All Versions"}]

Document Information

Modified date:
07 July 2021