Report 1188 Actions
Problem Report Number |
1188 |
Submitter's Classification |
Test Suite problem |
State |
Resolved |
Resolution |
Rejected (REJ) |
Problem Resolution ID |
REJ.X.0390 |
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 |
CAPIsockets/connect 22 |
Problem Summary |
PG4U.00077 This IR claims that an null sockaddr_un sun_path qualifies as a condition to reset the peer address instead of fail a SOCK_DGRAM connect() call. |
Problem Text |
We believe this is a test suite deficiency. The X/Open CAE Specification (1994) for Networking Services, Issue 4, states, under the Description for connect(): "... For SOCK_DGRAM sockets, the peer address identifies where all datagrams are sent on subsequent send() calls, and limits the remote sender for subsequent recv() calls. If address is a null address for the protocol, the socket's peer address will be reset." In this testcase we check the sock_name field. Since it has a null in it we treat this as a null address and assume this is a reset case. Since we see this as a reset case the connect does not fail on our implementation.
|
Test Output |
TEST PURPOSE #22 If the implementation supports the AF_UNIX communications domain and a connection-oriented socket type: ENOENT in errno and return -1 on a call to int connect(int socket, const struct sockaddr *address, size_t address_len) when the address family of the socket is AF_UNIX and the pathname points to an empty string. PREP: Create test sockaddr_un: path = ../tmp/unix.AABbxQ TEST: AF_UNIX SOCK_STREAM PREP: Create socket TEST: connect socket with empty path TEST: Return value TEST: errno value TEST: AF_UNIX SOCK_DGRAM PREP: Create socket TEST: connect socket with empty path TEST: Return value ERROR: connect call succeeded unexpectedly, returned 0 22 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. We believe the test is correct. The portion of the spec the submitter quotes clearly states that the connect() calls address not the sockaddr_un sun_path member must be null for a reset to occur. Since this is not the case the test should perform as expected on the IUT.
|
Review Type |
SA Review |
Start Date |
null |
Completed |
null |
Status |
Complete |
Review Resolution |
No Resolution Given |
Review Conclusion |
The Specification seems clear on this issue.
|
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:
|