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

The Open Brand -- Problem Reporting and Interpretations System


Problem Report 2088 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 2088.


Report 2088 Actions


    Problem Report Number 2088
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.1059
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1998-05-17 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.00056 The function vfwprintf_fef() in SRC/vsth/common/vsth_fs.c contains the following code: rval = mbstowcs(&wfmt[0], "%.256ls", VSTH_BUFLEN); This line is preparing a format string for the fwscanf() later...
    Problem Text
    The function vfwprintf_fef() in SRC/vsth/common/vsth_fs.c contains
    the following code:

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

    This line is preparing a format string for the fwscanf() later
    in the code. However, this format string is incorrect, it
    should be "%256ls". Page 309 of the XSH XPG5 states the following:

    "Conversions ... is replaced by the sequence %n$, where n is a decimal
    integer in the range [1,NL_ARGMAX]. ..."

    Test Output
    ************************************************************************
    /tset/PTHR.os/all/General/T.General 2 Failed

    Test Description:
    All POSIX.1 and C Standard functions that reference (FILE *) objects
    shall behave as if they use flockfile() and funlockfile() internally
    to obtain ownership of the corresponding (FILE *) objects.
    Posix Ref: Component GENERAL Assertion 9945-1:1996 8.2.6.2-2(A)

    Test Information:
    All POSIX.1 and C Standard functions that reference FILE *
    objects shall behave as if they use flockfile() and funlockfile()
    internally to obtain ownership of the corresponding FILE * objects.
    Posix Ref: Component GENERAL
    Assertion 9945-1:1996 8.2.6.2-2(A)
    Testing fgetc()
    fgetc() untested
    Testing fgets()
    fgets() passed
    Testing fprintf()
    fprintf() passed
    Testing fputc()
    fputc() untested
    Testing fputs()
    fputs() passed
    Testing fread()
    fread() passed




    Testing fscanf()
    fscanf() passed
    Testing fwprintf()
    fwprintf() passed
    Testing fwrite()
    fwrite() passed
    Testing fwscanf()
    fwscanf() passed
    Testing getc()
    getc() untested
    Testing getw()
    getw() passed
    Testing putc()
    putc() untested
    Testing putw()
    putw() passed
    Testing vfprintf()
    vfprintf() passed
    Testing vfwprintf()
    vfwprintf() failed

    ************************************************************************

    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. The precision specifier used
    in this subtest is a valid conversion specifier for the printf family
    of functions, not the scanf family of functions.


    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