|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1481 Details
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:
- View Report 1481
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority