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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 1977 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 1977.


Report 1977 Actions


    Problem Report Number 1977
    Submitter's Classification Specification problem
    State Resolved
    Resolution Permanent Interpretation (PIN)
    Problem Resolution ID PIN.X.0240
    Raised 1997-01-08 08:00
    Updated 2003-03-13 08:00
    Published 1997-01-22 08:00
    Product Standard Transport Service XTI
    Certification Program The Open Brand certification program
    Test Suite VST version 4.1.4
    Test Identification XTI.os/cots/accept 19
    Specification Networking Services Issue 4
    Location in Spec See Problem Text
    Linked Problem Reports PINT4san.003, (in, old, system)
    Problem Summary PINT4.006 This request is to seek waiver for included results for test cases T.accept 19 (The reason can also be considered a Grey area in the specification) This technical rationale for this waiver is identica...
    Problem Text

    This request is to seek waiver for included results for test cases
    T.accept 19

    (The reason can also be considered a Grey area in the specification)

    This technical rationale for this waiver is identical to the technical
    rationale for Waiver with Interpretation Reference PINT4san.003 which
    is against Test Case XTI.os/cots/accept Test No. 21. The problem
    results in an unmapped memory reference leading to a segment violation
    (SIGSEGV) in the test case (presumably because of opt.len field being
    non-zero).

    The test case passes a "struct t_call" data structure to to t_listen()
    over TCP transport which has for its option ("opt") member
    "struct netbuf" with only "maxlen" field set to 0 and "len" field
    uninitialized. In our implementation because of the same grey area in
    the spec already discussed in the PINT4san.003, the subsequent call to
    t_accept() passes and uninitialized "len" field in the
    "opt" member of "struct t_call" parameter to t_accept().

    This uninitialized value of opt.len being non-zero (on the Intel x86
    processor platform for our OS though in theory it can happen on Sparc
    platform too), this test results in unmapped memory being referenced leading
    to segment violation.

    The following modification to the test suite code in file
    SRC/common/tsetlib/provsetup.c subroutine do_incon() similar to
    that suggested in waiver PINT4san.003 when performed makes the
    implementation PASS the test suite.

    private int
    do_incon(fd, curr_prov, callret)

    ......
    if (callret != NULL)
    {
    callret->opt.buf = NULL;
    callret->opt.maxlen = 0;
    callret->opt.len = 0; <====== NEW
    callret->udata.buf = NULL;
    callret->udata.maxlen = 0;
    if (addralloc(&callbuf, &callret->addr) != 0)
    DBUG_RETURN(-1);
    else
    PATH_TRACE;
    }
    ......
    }

    The test results after this modification from the journal are as follows

    400|0 19 1 16:27:50|IC Start
    200|0 19 16:27:50|TP Start
    220|0 19 0 16:27:50|PASS
    410|0 19 1 16:27:50|IC End

    Test Output

    There is no output from the test generated in the test "report" as
    the test does not run through completion.

    Journal output shows the following

    400|0 19 1 14:38:59|IC Start
    200|0 19 14:38:59|TP Start
    80|0 1011 14:38:59|TC End, terminated by signal 11


    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    It is accepted that this is a problem of the same nature as that described
    in Permanent Interpretation PINT4.003, and it is recommended that a Permanent
    Interpretation is granted against this test.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Permanent Interpretation (PIN)
    Review Conclusion
    A Permanent Interpretation is granted.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority