|
Home About Us A-Z Index Search * Contact Us Register Login Press ShopThe Open Brand -- Problem Reporting and Interpretations System |
Problem Report 1431 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 1431.
Report 1431 Actions
Problem Report Number 1431 Submitter's Classification Test Suite problem State Resolved Resolution Test Suite Deficiency (TSD) Problem Resolution ID TSD.X.0713 Raised 1970-01-01 08:00 Updated 2003-03-13 08:00 Published 1996-01-30 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/setutxent 1 Problem Summary TSD4U.00102 This test may fail on implementations that define ut_line to be less than 24 characters in length. Problem Text
This test may fail on implementations that define ut_line
to be less than 24 characters in length.
This is another occurance of the problem which is reported in TSD4U.00040.
setutxent() Test 1 and several other utmpx tests fail because they copy a
string into the "ut_line" member of struct utmpx that is longer than the
space allocated for ut_line. This trashes other members of the utmpx
structure, and then the test does not read back what it thinks it wrote
out. The problem is even worse in CAPI/SRC/LIB/capi_utmpx/mk_utmpx.c in
function write_several_entries(), where a malloc'ed area is also overrun.
The solution is to first make sure the resulting string is not longer than
sizeof(utmpx.ut_line).
Test Output
200|1 1 13:29:33|TP Start
520|1 1 20819 1 1|SPEC1170TESTSUITE CASE 1
520|1 1 20819 1 2|A call to void setutxent(void) shall
520|1 1 20819 1 3|reset input to the beginning of the utmpx database.
520|1 1 20820 1 1|PREP: Update the utmpx database such that there are
520|1 1 20820 1 2| atleast more than two entries
520|1 1 20820 1 3|ERROR: Invalid entry returned by pututxline()
520|1 1 20820 1 4| Expected entry: Type=12856(LOGIN_PROCESS)
Line=txln1_de
Timestamp=sec:0 msec:0
520|1 1 20820 1 5| Got entry: Type=12848 Line=1gtutxln1_de
Timestamp=sec:8
92809984 msec:995241
220|1 1 2 13:29:34|UNRESOLVEDReview 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 1431
- List All PRs
- Search Reports
- Email the System Administrator
- View the The Open Brand Interpretations Database User Manual
Contact the Certification Authority