HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1681 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 1681.


Report 1681 Actions


    Problem Report Number 1681
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0485
    Raised 2003-02-14 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.2.3
    Test Identification CAPI.os/xcurses/all all
    Problem Summary PG4U.00188 The xcurses tests are all Unresolved if $TET_EXECUTE is too long.
    Problem Text
    Due to the amount of text, output from all assertions is not included.

    The problem is that in SRC/common/capi_curses/vt.c and
    SRC/common/capi_xcurses/vt.c:

    static char env_path[80];

    int avsstart_term(i,o,ti,to)
    FILE **i, **o, **ti, **to;
    {
    vsu_debug_enter("capi_curses/vt.c:avsstart_term()", 0);

    tet_infoline("PREP: Set environment variables and open terminal connecti
    on");
    /* set to default screen size */
    old_terminfo=getenv("TERMINFO");
    sprintf(env_path,"TERMINFO=%s%s",getenv("TET_EXECUTE"), TERMINFO);
    s2 = putenv(env_path);

    The fixed length array env_path[80] can be corrupted if the path to
    TESTROOT is long enough. This causes a call to open() to fail
    when it is passed the file name which has exceeded the array length
    and had the end clobbered, which results in the unresolved test
    result.

    The env_path[] should either be a dynamically sized array or should
    be made sufficiently large such that the array boundary is not
    exceeded by the pathname.

    Test Output
    All xcurses tests have the same unresolved result as shown below:

    10|0 /tset/CAPI.os/xcurses/add_wch/T.add_wch 13:11:54|TC Start, scenario ref 1-0
    15|0 3.3-lite 18|TCM Start
    400|0 1 1 13:11:54|IC Start
    200|0 1 13:11:54|TP Start
    520|0 1 00014672 1 1|PREP: Set test locale: xcurses
    520|0 1 00014672 1 2|PREP: Set environment variables and open terminal connectio
    n
    520|0 1 00014672 2 1|PREP: Call newterm
    520|0 1 00014672 2 2|ERROR: avsstart_curses: newterm call returned 0
    220|0 1 2 13:11:54|UNRESOLVED
    410|0 1 1 13:11:54|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    A TSD cannot be issued for this test suite fault, as there are far too
    many tests affected. It is recommended that this request is refused.

    There is an obvious work-around for the problem: choose a location
    for the TESTROOT directory with a short enough pathname. If for
    some reason it is not possible to use this work-around, then a
    patch for the test suite should be issued.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Rejected (REJ)
    Review Conclusion
    This request is refused.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority