IBM Support

PM51978: streaming invalid file contents into a DXL integer causes a crash

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • If you are reading from a stream and puting the contents into an
    integer, if you read beyond the end of the file, DOORS will
    crash.
    
    This was introduced at some point between 8.3.0.2 and 9.1.0.0.
    
    To recreate:
    
     - run the following code, where empty.txt is an empty file:
    
    '
    Stream s = read 'C:\\empty.txt'
    int line
    
    s ?? line
    '
    
    Workaround:
    Before reading each line, make sure the condition 'if (!end of
    s)' is satisfied.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    If you are reading from a stream and puting the contents
    into an integer, if you read beyond the end of the file,
    DOORS will crash.
    

Problem conclusion

  • The code has been changed so that the crash no longer
    occurs.
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM51978

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    930

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2011-11-10

  • Closed date

    2012-03-09

  • Last modified date

    2012-03-09

  • 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 DOORS

  • Fixed component ID

    5724V61DR

Applicable component levels

  • R930 PSN

       UP

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

Document Information

Modified date:
28 October 2021