|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1279 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 1279.
Report 1279 Actions
Problem Report Number 1279 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0561 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1998-09-18 08:00 Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98) Certification Program The Open Brand certification program Test Suite VSU version 5.0.2 Test Identification base/writev 34 Problem Summary TSD4U.00257 This test may fail if the default output mode of the terminal includes mapping of NL to CR-NL (ONLCR) and a NL appears in databuf. Problem Text
The test is failing because the buffer databuf is not being initialized
correctly. On line 155 of fprintv34.c, we have:
memset(databuf, 0, sizeof(databuf));
sizeof(databuf) is the size of the pointer, not the buffer. The program
works correctly when the buffer is initialized with:
memset(databuf, 0, max_size*2);
immediately after the malloc().
The uninitialized buffer caused failures when line feeds therein were
expanded to CR/LFs.Test Output
TEST CASE: writev
TEST PURPOSE #34
A call to ssize_t writev(int fildes, const struct
iovec *iov, int iovcnt) when fildes refers to a
STREAMS file, the number of bytes requested does not
fall within the maximum and minimum write size defined
by the top-most STREAM module and the minimum write
size is 0 shall break the buffer into maximum size
segments prior to sending the data downstream.
PREP: Read VSU_STREAMS_MAX_DATA_SIZE configuration
PREP: Allocate big enough buffer
PREP: Open master pseudo tty
PREP: Determine if pseudo tty is a stream
PREP: Open slave side of pseudo tty
PREP: Fork a child to read data
TEST: Write 2 * STREAMS_MAX_DATA_SIZE bytes of data
ERROR: Message was not broken up
34 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 1279
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority