HomeAbout Us A-Z IndexSearch * Contact Us Register LoginPress Shop

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2075 Details

Help Show help | Quick Search | Submit a Test Suite Support Request | Click here to view your privileges

This page provides all information on Problem Report 2075.


Report 2075 Actions


    Problem Report Number 2075
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1046
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-04-01 08:00
    Product Standard Internationalised System Calls and Libraries Extended V2 (UNIX 98)
    Certification Program The Open Brand certification program
    Test Suite VSTH version 5.1.2
    Test Identification PTHR.os/all/General 2
    Problem Summary TSD5TH.00043 In SRC/common/vsthlib/vsth_fs.c, the vfprintf_fef function includes the following: rval = mbstowcs(&wfmt[0], "%.*ls", VSTH_BUFLEN); if ( rval != -1 ) { rval = fseek(Vsth_vfwprintf_fp, 0, SEEK_SET); if...
    Problem Text

    In SRC/common/vsthlib/vsth_fs.c, the vfprintf_fef function
    includes the following:

    rval = mbstowcs(&wfmt[0], "%.*ls", VSTH_BUFLEN);




    if ( rval != -1 )
    {
    rval = fseek(Vsth_vfwprintf_fp, 0, SEEK_SET);
    if ( rval == 0 )
    {
    limit = VSTH_FSCNT * VSTH_SWARM;

    for ( cnt = 0; cnt < limit; ++cnt )
    {
    wmemset(&buf[0], (wchar_t) 0, VSTH_BUFLEN + 1);

    rval = fwscanf( Vsth_vfwprintf_fp,
    &wfmt[0],
    VSTH_BUFLEN,
    &buf[0]);
    .....

    The "%.*ls" format is causing fwscanf to suppress the assignment
    of the subject value.

    This appears to be another instance of the problem corrected
    in TSD5TH.00007.

    Test Output
    20|16 2 00017026 1 1|All POSIX.1 and C Standard functions that reference
    FILE *
    520|16 2 00017026 1 2|objects shall behave as if they use flockfile() and
    funlockfile()
    520|16 2 00017026 1 3|internally to obtain ownership of the corresponding
    FILE * objects.
    520|16 2 00017026 1 4|Posix Ref: Component GENERAL
    520|16 2 00017026 1 5|Assertion 9945-1:1996 8.2.6.2-2(A)
    520|16 2 00017026 1 6|Testing fgetc()
    520|16 2 00017026 1 7|fgetc() untested
    520|16 2 00017026 1 8|Testing fgets()
    520|16 2 00017026 32 1|fgets() passed
    520|16 2 00017026 256 6|Testing vfprintf()
    520|16 2 00017026 288 1|vfprintf() passed
    520|16 2 00017026 288 2|Testing vfwprintf()
    520|16 2 00017026 320 1|vfwprintf() failed
    220|16 2 1 14:06:48|FAIL
    410|16 2 1 14:06:48|IC End

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    We agree with the applicant and recommend that a waiver be granted on the
    basis of a test suite deficiency.


    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:

     

    Back   


Contact the Certification Authority