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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1849 Actions


    Problem Report Number 1849
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0926
    Raised 2001-10-24 08:00
    Updated 2003-03-13 08:00
    Published 2001-10-31 08:00
    Product Standard Window System Application Interface V2
    Certification Program The Open Brand certification program
    Test Suite VSW version 5.1.2
    Test Identification Xproto/PutImage 3
    Linked Problem Reports TSD4W.00165, (in, old, system)
    Problem Summary TSD4W.00171 The test may fail when the BigRequests extension is supported.
    Problem Text
    This test will fail on implementations that support the
    BigRequests extension. Though our system seems to get a slightly
    different failure than what is documented in TSD4W.00165.

    Here is a suggested patch to fix the problem:

    *** vsw5/src/libproto/SendReq.c Thu Oct 11 13:00:46 2001
    --- vsw5/src/libproto/SendReq.c.fix Thu Oct 11 13:00:21 2001
    ***************
    *** 878,887 ****
    --- 878,888 ----
    }

    send1(client,(long) ((xPutImageReq *)rp)->reqType);
    send1(client,(long) ((xPutImageReq *)rp)->format);
    send2(client,(short) (bytesToSend >> 2));
    + if (isABigRequest) send4(client, (unsigned long)bigRequestLength);
    send4(client,(long) ((xPutImageReq *)rp)->drawable);
    send4(client,(long) ((xPutImageReq *)rp)->gc);
    send2(client,(short) ((xPutImageReq *)rp)->width);
    send2(client,(short) ((xPutImageReq *)rp)->height);
    send2(client,(short) ((xPutImageReq *)rp)->dstX);
    Test Output
    400|87 3 1 12:07:48|IC Start
    200|87 3 12:07:48|TP Start
    520|87 3 00023822 1 1|VSW5TESTSUITE PURPOSE 3
    520|87 3 00023822 1 2|Assertion PutImage-3.(B)
    520|87 3 00023822 1 3|When a client sends an invalid PutImage protocol request to
    520|87 3 00023822 1 4|the X server, in which the length field of the request
    520|87 3 00023822 1 5|exceeds the maximum length accepted by the X server, then
    520|87 3 00023822 1 6|the X server sends back a BadLength error to the client.
    520|87 3 00023822 1 7|Reason for omission: There is no known portable test method for this assertion
    520|87 3 00023822 1 8|METH: Call library function testfunc() to do the following:
    520|87 3 00023822 1 9|METH: Open a connection to the X server using native byte sex.
    520|87 3 00023822 1 10|METH: Send an invalid PutImage protocol request to the X server with length
    520|87 3 00023822 1 11|METH: one greater than the maximum length accepted by the server.
    520|87 3 00023822 1 12|METH: Verify that the X server sends back a BadLength error.
    520|87 3 00023822 1 13|METH: Open a connection to the X server using reversed byte sex.
    520|87 3 00023822 1 14|METH: Send an invalid PutImage protocol request to the X server with length
    520|87 3 00023822 1 15|METH: one greater than the maximum length accepted by the server.
    520|87 3 00023822 1 16|METH: Verify that the X server sends back a BadLength error.
    520|87 3 00025494 1 1|INFO: Processing a big request
    520|87 3 00023822 2 1|child process was terminated by signal 13 (SIGPIPE)
    220|87 3 2 12:07:52|UNRESOLVED
    410|87 3 1 12:07:52|IC End
    80|87 0 12:07:53|TC End, scenario ref 177-0

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a fault in the test suite.

    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