IBM Support

PH40783: IBM MQ:IMPROVE THE HANDLING OF INVALID BUFFER ADDRESS/LENGTH FOR GETS FROM AMS PROTECTED QUEUES

A fix is available

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An MQGET from a non-AMS protected queue with an invalid  buffer
    address will result in the get failing with MQRC_BUFFER_ERROR.
    Doing the same get from an AMS protected queue results in an
    0C4-04 abend in CSQ0CGET as below:
    ABN=0C4-00000004,U=        ,C=MQ900.920.    -UNKNOWN ,M=UNKNOWN
    ,LOC=CSQ0GPLM.CSQ0CGET
    

Local fix

  • Application should provide  correct buffer address and buffer
    length.
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED: All users of IBM MQ for z/OS Version 9       *
    *                 Release 1 Modification 0, Release 2          *
    *                 Modification 0 and Release 3 Modification 0. *
    ****************************************************************
    * PROBLEM DESCRIPTION: When doing an MQGET from an Advanced    *
    *                      Message Security (AMS) protected        *
    *                      queue with an invalid Buffer and        *
    *                      BufferLength combination , the request  *
    *                      fails and an 0C4-04 abend occurs.       *
    ****************************************************************
    The code responsible for copying data to a user buffer does not
    handle invalid Buffer and BufferLength parameters from MQGET
    calls.
    

Problem conclusion

  • Error handling improvements have been made to catch the abend,
    return MQRC_BUFFER_ERROR to the user and possibly put the
    message to the AMS error handling queue.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PH40783

  • Reported component name

    IBM MQ Z/OS V9

  • Reported component ID

    5655MQ900

  • Reported release

    100

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    YesHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2021-09-21

  • Closed date

    2022-08-11

  • Last modified date

    2022-10-07

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

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

    UI81007 UI81008 UI81896

Modules/Macros

  • CSQ0CGET CSQ0IPRH CSQ0KRPT CSQ0KRUP
    

Fix information

  • Fixed component name

    IBM MQ Z/OS V9

  • Fixed component ID

    5655MQ900

Applicable component levels

  • R100 PSY UI81008

       UP22/07/01 P F206

  • R200 PSY UI81007

       UP22/07/01 P F206

  • R300 PSY UI81896

       UP22/09/17 P F209 ¢

Fix is available

  • Select the PTF appropriate for your component level. You will be required to sign in. Distribution on physical media is not available in all countries.

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSYHRD","label":"IBM MQ"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"100","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
07 October 2022