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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1196 Actions


    Problem Report Number 1196
    Submitter's Classification Specification problem
    State Resolved
    Resolution Rejected (REJ)
    Problem Resolution ID REJ.X.0398
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published null
    Product Standard Sockets (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.0
    Test Identification sockets/sendmsg 12
    Problem Summary PG4U.00069 This was refused because it is a duplicate. Use TSD4U.00127 instead.
    Problem Text
    This was refused because it is a duplicate. Use TSD4U.00127 instead.

    This testcase, which tests cumulative vector length wrapping,
    does not have the vector pointers pointing to fully accessible
    malloc()'ed storage. The test is currently returning a -1/EFAULT
    instead of the expected -1/EINVAL, because our implementation detects
    the un-allocated storage condition before it detects the wrapping
    cumulative length condition. It does so because the code checks
    individual vector lengths, storage validity, and accumulates total
    vector length, all in the same loop.
    Having one loop instead of two was consciously done to
    increase performance for all read and write paths. Our rationale,
    for leaving the code this way, is that there are 2 possible errors
    and either errno is equally acceptable.
    Test Output
    TEST PURPOSE #12
    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.
    TEST: AF_INET SOCK_STREAM
    PREP: Create test sockaddr_in: address = 198.151.241.50, port = 62701
    PREP: Wait for server to be ready
    PREP: Create a socket
    PREP: Connect socket to address 198.151.241.50, port 62701
    TEST: Send data with excessive lengths
    TEST: Return value
    TEST: errno value
    ERROR: sendmsg call failed incorrectly, errno was 118(EFAULT - Bad
    address) should have been EINVAL
    CLEANUP: Send SIGTERM to server
    PREP: Server: create socket
    PREP: Server: bind address 198.151.241.50, port 62701 to socket
    PREP: Server: listen on socket
    PREP: Server: notify client server is ready
    PREP: Server: accept connection
    INFO: Server: accepted connection from address 198.151.241.50, port
    1133
    PREP: echo_server: read and echo data
    INFO: Server received signal 15
    INFO: Server terminated
    12 FAIL

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We recommend this request be refused.

    The submitter is correct but a recent ruling regarding this issue
    exists. To avoid the confusion duplicate rulings regarding the same
    issue might cause we recommend this request be refused and the submitter
    use TSD4U.00127 instead.

    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