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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1496 Actions


    Problem Report Number 1496
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0778
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-08-12 08:00
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification Sockets/sendmsg 12
    Problem Summary TSD4U.00035 test may fail with EFAULT error
    Problem Text
    This test sets:
    Siovec[0].iov_len = 1L<<(bpss-2).
    This basically sets iov_len to a very big number.
    However the actual TestData is a very small array.
    Subsequently when the kernel checks to see if the address specified
    is legal, the kernel detects an illegal address range. Therefore
    the kernel generates a EFAULT.

    This test case should have created a valid buffer with a size equal
    to the stated iov_len.
    Test Output
    If the implementation supports a communications domain
    and a socket type:
    EINVAL in errno and return -1 on a call to ssize_t
    sendmsg(int socket, const struct msghdr *message, int
    flags) when the sum of the iov_len values overflows a
    ssize_t.

    JOURNAL FILE OUTPUT:
    --------------------

    TEST: AF_INET SOCK_STREAM
    PREP: Create test sockaddr_in: address = 15.10.41.16, port = 3845
    PREP: Wait for server to be ready
    PREP: Create a socket
    PREP: Connect socket to address 15.10.41.16, port 3845
    TEST: Send data with excessive lengths
    TEST: Return value
    TEST: errno value
    ERROR: sendmsg call failed incorrectly, errno was 14(EFAULT - Bad address) shoul
    d have been EINVAL
    CLEANUP: Send SIGTERM to server
    PREP: Server: create socket
    PREP: Server: bind address 15.10.41.16, port 3845 to socket
    PREP: Server: listen on socket
    PREP: Server: notify client server is ready
    PREP: Server: accept connection
    INFO: Server: accepted connection from address 15.10.41.16, port 1154
    PREP: echo_server: read and echo data
    INFO: Server received signal 15
    INFO: Server terminated
    FAIL

    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