|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1500 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 1500.
Report 1500 Actions
Problem Report Number 1500 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0782 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1995-08-03 08:00 Product Standard Sockets (UNIX 95) Certification Program The Open Brand certification program Test Suite VSU version 4.0.2 Test Identification sockets/accept 3 Problem Summary TSD4U.00031 capi_sock/sa_error.c:check2u(), Line: 332 is erroneously comparing a "signed char" with a "signed int" constant. Problem Text
The AF_UNIX portion of accept test purpose 3 may fail because
capi_sock/sa_error.c:check2u(), Line: 332 is coded as
if (su_ret->sun_path[2] != -1)
This is erroneously comparing a "signed char" with a "signed int"
constant.
This line should be:
if (su_ret->sun_path[2] != (char)-1)
Test Output
TEST CASE: accept
TEST PURPOSE #3
If the implementation supports a communications
domain and a connection-oriented socket type:
A call to int accept(int socket, struct sockaddr
*address, size_t *address_len) when the address of the
peer for the accepted connection will not fit in the
sockaddr structure pointed to by address shall
truncate the address.
TEST: AF_UNIX SOCK_STREAM
PREP: Create test sockaddr_un: path = ../tmp/unix.a000Ea
PREP: Child: wait for parent
PREP: Create a socket
PREP: Connect socket to address 139.22.228.9, port 3457
PREP: Child: wait for parent to complete
CLEANUP: Child: close socket
PREP: Child: wait for parent
PREP: Create a socket
PREP: Bind address ../tmp/uclient.a000Ec to socket
PREP: Connect to address ../tmp/unix.a000Ea
PREP: Child: wait for parent to complete
CLEANUP: Child: close socket
PREP: Create socket
PREP: Bind to socket
PREP: Call listen for socket
PREP: Signal child parent is ready
TEST: Call accept with short length
PREP: getpeername for new descriptor
TEST: Size of returned address
TEST: Returned address
TEST: Returned address truncated
ERROR: Byte 2 of path is 0xff, expected 0xffffffff
CLEANUP: Close sockets, kill child
3 FAILReview 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 1500
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority