IBM Support

PM23711: attempting to assign an extremely long enumeration value will crash DOORS

Subscribe

You can track all active APARs for this component.

APAR status

  • Closed as program error.

Error description

  • Problem
    If you attempt to assign an extremely long enumeration value to
    an object, DOORS will crash.
    
    Exactly how long the value must be, I'm not sure. 200 characters
    worked, 300 caused a crash
    
    To Reproduce
     - create an enumerated type in a module with an enumeration
    value which is 300 characters long
     - create an attribute of that type and add it to the current
    view
     - drop the enumeration drop-down listbox as if you were going
    to assign a value
    
    DOORS will crash.
    
    Possible Workarounds
    use abbreviated text?
    use a different attribute type?
    
    Additional Notes
    This was raised some time ago internally under #18232.
    
    Applies to both v8.3 and v9.3.
    

Local fix

Problem summary

  • ****************************************************************
    * USERS AFFECTED:                                              *
    ****************************************************************
    * PROBLEM DESCRIPTION:                                         *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    DOORS was crashing when enum values are more than 255
    characters and were included in column view
    

Problem conclusion

  • Static memory allocation is removed and allocating memory
    dynamically based on string(enum value) length
    

Temporary fix

Comments

APAR Information

  • APAR number

    PM23711

  • Reported component name

    TLOGIC DOORS

  • Reported component ID

    5724V61DR

  • Reported release

    830

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2010-10-01

  • Closed date

    2011-03-31

  • Last modified date

    2011-03-31

  • 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

  • R830 PSN

       UP



Document information

More support for: Rational DOORS

Software version: 8.3

Reference #: PM23711

Modified date: 31 March 2011