IBM Support

PM76482: GetBuffer() doesn't modify buffer

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • GetBuffer() should update the object's internal buffer variable.
    However, it does not.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    Can't modify object's internal buffer variable after calling
    OMString::GetBuffer().
    

Problem conclusion

  • A new function, OMString::ReleaseBuffer(), was added in
    version 8.0.3. After using GetBuffer(), you should call
    OMString::ReleaseBuffer(), passing it new length of modified
    string buffer, before using the modified buffer in any other
    way. For more information, do an Internet search for
    CString::ReleaseBuffer.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM76482

  • Reported component name

    TLOGIC RHAPSODY

  • Reported component ID

    5724V74RP

  • Reported release

    761

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-11-05

  • Closed date

    2013-06-20

  • Last modified date

    2013-06-20

  • 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

    TLOGIC RHAPSODY

  • Fixed component ID

    5724V74RP

Applicable component levels

  • R761 PSN

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SS7P9W","label":"Rational Rhapsody"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.6.1","Line of Business":{"code":"LOB59","label":"Sustainability Software"}}]

Document Information

Modified date:
29 October 2021