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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1347 Actions


    Problem Report Number 1347
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0629
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-06-16 08:00
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.1
    Test Identification sockets/sendmsg 12
    Problem Summary TSD4U.00188 This test may fail due to memory management logic errors.
    Problem Text
    A waiver is requested for this variation of the test suite
    deficiency TSD4U.00170, which applies to test purpose 12 of the
    "sendmsg" test case in the "sockets" section of VSU.

    The above excerpt, labeled "JOURNAL EXCERPT FROM BRANDING RUN",
    shows the results of the test suite's corruption of memory, initiated
    during "AF_INET SOCK_STREAM" phase and completed in the
    "AF_UNIX SOCK_STREAM" phase. As documented in TSD4U.00170, the test
    suite effectively obtains a memory address from sbrk(0) then passes it
    to free(). Per the XSH, this behavior is undefined, and, as such,
    it corrupts the state of implementation's malloc() and free() logic.
    The failure which appears in the journal as

    |ERROR: unix_server: bind to file ../tmp/unix.a002YD failed, errno =
    9(EBADF - Bad file number)

    is due to a file descriptor value which was assigned correctly in an
    internal structure prior to a calloc() call then found to be corrupted
    afterward.

    The excerpt entitled "JOURNAL EXCERPT FROM INDIVIDUAL TEST PURPOSE"
    shows that when run by itself, this test case fails in the same manner
    as that documented in TSD4U.00170.

    We believe this to be a test suite deficiency and request a waiver.
    Test Output
    JOURNAL EXCERPT FROM BRANDING RUN
    A VSU branding run produces the following journal excerpt:

    0|1.10 22:08:21 19970606|User: vsu (10190) TCC Start, Command Line: tcc
    -be CAPI all

    70||"SPEC1170TESTSUITE AREA sendmsg 42"

    110|5316 /tset/CAPIsockets/fsendmsg/fsendmsg1 03:00:54|Build Start,
    scenario ref 107-124
    130|5316 0 03:01:15|Build End
    10|5317 /tset/CAPIsockets/fsendmsg/fsendmsg1 03:01:15|TC Start, scenario
    ref 107-124
    15|5317 1.10 42|TCM Start
    520|5317 12 10265 1 1|SPEC1170TESTSUITE CASE 12
    520|5317 12 10265 1 2|If the implementation supports a communications
    domain
    520|5317 12 10265 1 3|and a socket type:
    520|5317 12 10265 1 4|EINVAL in errno and return -1 on a call to ssize_t
    520|5317 12 10265 1 5|sendmsg(int socket, const struct msghdr *message,
    int
    520|5317 12 10265 1 6|flags) when the sum of the iov_len values overflows
    a
    520|5317 12 10265 1 7|ssize_t.
    520|5317 12 10381 1 1|PREP: Read IOV_MAX system configuration
    520|5317 12 10381 1 2|PREP: Test whether condition can be generated
    520|5317 12 10381 1 3|PREP: Set up invalid iovec
    520|5317 12 10381 1 4|INFO: Malloc of 2147483648 bytes failed, trying
    smaller size
    520|5317 12 10381 1 5|TEST: AF_INET SOCK_STREAM
    520|5317 12 10381 1 6|PREP: Create test sockaddr_in: address =
    153.78.108.46, port = 2673
    520|5317 12 10382 1 1|PREP: Server: create socket
    520|5317 12 10382 1 2|PREP: Server: bind address 153.78.108.46, port 2673
    to socket
    520|5317 12 10382 1 3|PREP: Server: listen on socket
    520|5317 12 10382 1 4|PREP: Server: notify client server is ready
    520|5317 12 10382 1 5|PREP: Server: accept connection
    520|5317 12 10382 1 6|INFO: Server: accepted connection from address
    153.78.108.46, port 1285
    520|5317 12 10382 1 7|PREP: echo_server: read and echo data
    520|5317 12 10382 1 8|INFO: Server received signal 15
    520|5317 12 10382 1 9|INFO: Server terminated
    520|5317 12 10381 2 1|PREP: Wait for server to be ready
    520|5317 12 10381 2 2|PREP: Create a socket
    520|5317 12 10381 2 3|PREP: Connect socket to address 153.78.108.46, port
    2673
    520|5317 12 10381 2 4|TEST: Send data with excessive lengths
    520|5317 12 10381 2 5|TEST: Return value
    520|5317 12 10381 2 6|TEST: errno value
    520|5317 12 10381 2 7|CLEANUP: Close socket, kill server
    520|5317 12 10381 2 8|TEST: AF_UNIX SOCK_STREAM
    520|5317 12 10381 2 9|PREP: Create test sockaddr_un: path =

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree this is a test suite deficiency in the test
    suite version(s) listed.

    Review Type SA Review
    Start Date null
    Completed null
    Status Complete
    Review Resolution Test Suite Deficiency (TSD)
    Review Conclusion
    This is an agreed Test Suite Deficiency.

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority