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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1481 Actions


    Problem Report Number 1481
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0763
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1995-10-31 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.0.2
    Test Identification base/putmsg 28
    Problem Summary TSD4U.00050 The test may fail on implementations because ctl.len is less than or equal to max_size.
    Problem Text
    The test may fail on implementations because ctl.len is less
    than or equal to max_size.

    According to 65X/Open CAE Specification (1994) (Draft September 22, 1994)
    System Interfaces and Headers Issue 4, Version 2, page 651,


    [ERANGE] The size of the data part of the
    message does not fall within the
    range specified by the maximum and
    minimum packet sizes of the topmost
    STREAM module. This value is also
    returned if the control part of the
    message is larger than the maximum
    configured size of the control part
    of a message, or if the data part of
    a message is larger than the maximum
    configured size of the data part of
    a message.

    "ctl.len" needs to be set more than "max_size" (e.g. "max_size + 1")
    instead of "max_size".

    Test Output


    /tset/CAPIbase/fputmsg/fputmsg28

    TEST PURPOSE #28
    ERANGE in errno and return -1 on a call to int
    putmsg(int fildes, const struct strbuf *ctlptr, const
    struct strbuf *dataptr, int flags) when the size of
    the control part of the message is greater than the
    maximum configured size of the control part of a
    message.
    PREP: Read VSU_STREAMS_MAX_CONTROL_SIZE configuration
    PREP: Allocate big enough buffer
    PREP: Create a pipe
    PREP: Determine if pipe is a stream
    TEST: putmsg returns -1
    ERROR: putmsg returned 0
    28 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