IBM Support

IT41954: USERTRACE ABENDS IF PASSED CHARACTER ARRAYS FROM A C USER DEFINED EXTENSION

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

  • If a C user defined extension such as a custom node or parser
    logs user trace, either directly or indirectly, and the data
    contains a single hex character below 0x14 then an abend with
    the following stack may be observed:
    
    ImbThreadSafeCount::increment
    ImbStringBase<unsigned char, std::char_traits<unsigned char>,
    unsigned short, 128u>::linkToBuffer
    
    ImbStringBase<unsigned char, std::char_traits<unsigned char>,
    unsigned short, 128u>::assign
    
    ImbBufferedStringBase<unsigned char, std::char_traits<unsigned
    char>, unsigned short, 24u, 128u>::ImbBufferedStringBase
    
    ImbValue::ImbValue
    
    ImbLogFile::convertInsertsToList (this=0x7ffff2673240
    
    ImbLogFile::writePlaintext
    
    ImbLogFile::write
    
    ImbLog::FastItem::writeToFile
    
    ImbLog::FastItem::operator<<
    
    
    Passing a character array as an insert containing other data
    may result in corrupted entries being written for that insert in
    the user trace.
    

Local fix

Problem summary

  • ****************************************************************
    USERS AFFECTED:
    All customers of App Connect Enterprise v11 or v12.
    
    
    Platforms affected:
    MultiPlatform
    
    ****************************************************************
    PROBLEM DESCRIPTION:
    <span style="background-color:rgb(255, 255, 255)">If a C user
    defined extension such as a custom node or parser </span><span
    style="background-color:rgb(255, 255, 255)">logs user trace,
    either directly or indirectly, and the data </span><span
    style="background-color:rgb(255, 255, 255)">contains a single
    hex character below 0x14 then an abend with </span><span
    style="background-color:rgb(255, 255, 255)">the following stack
    may be observed:                           </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbThreadSafeCount::increment
         </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbStringBase<unsigned char, std::char_traits<unsigned
    char>,  </span><span style="background-color:rgb(255, 255,
    255)">unsigned short, 28u>::linkToBuffer
                               </span><span
    style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbStringBase<unsigned char, std::char_traits<unsigned
    char>,  </span><span style="background-color:rgb(255, 255,
    255)">unsigned short, 128u>::assign
                                     </span><span
    style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbBufferedStringBase<unsigned char,
    std::char_traits<unsigned</span>
    <span style="background-color:rgb(255, 255, 255)">char>,
    unsigned short, 24u, 128u>::ImbBufferedStringBase
    </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbValue::ImbValue
         </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbLogFile::convertInsertsToList </span><span
    style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbLogFile::writePlaintext
         </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbLogFile::write
         </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbLog::FastItem::writeToFile
         </span><span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255,
    255)">ImbLog::FastItem::operator<<
         </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255, 255)">
    
    </span>
    <span style="background-color:rgb(255, 255, 255)">Passing a
    character array as an insert containing other data </span><span
    style="background-color:rgb(255, 255, 255)">may result in
    corrupted entries being written for that insert in </span><span
    style="background-color:rgb(255, 255, 255)">the user trace.
           </span>
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    IT41954

  • Reported component name

    APP CONNECT ENT

  • Reported component ID

    5724J0560

  • Reported release

    C00

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2022-09-05

  • Closed date

    2022-09-20

  • Last modified date

    2022-09-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

    APP CONNECT ENT

  • Fixed component ID

    5724J0560

Applicable component levels

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSDR5J","label":"IBM App Connect Enterprise"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"C00","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
21 September 2022