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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 0025 Actions


    Problem Report Number 0025
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0025
    Raised 1992-09-18 08:00
    Updated 2003-03-13 08:00
    Published 1992-09-29 08:00
    Product Standard Internationalised System Calls and Libraries (XPG4)
    Certification Program The Open Brand certification program
    Test Suite VSX4 version 4.2.3
    Test Identification POSIX.os/dataform/cpio|tar cpio 2,5,9,10,12,14..28|tar 15,16,18,32
    Problem Summary TSD4.025 (Ref . UniSoft reply err.4.2.3.024) In the function aoctol() core dumps occur because overflow occurs if the value of len is greater than 10. This is a pity since it is called for the c_filesize field...
    Problem Text
    (Ref . UniSoft reply err.4.2.3.024)

    In the function aoctol() core dumps occur because overflow
    occurs if the value of len is greater than 10. This is a pity
    since it is called for the c_filesize field which is 11 long.
    The overflow can be avoided by changing the types of val &
    pow to unsigned long; the overflow still occurs but isn't
    raised for unsigned arithmetic.

    In addition it would be better if the continue within the
    loop was replaced by a break. Since the sole purpose of
    this is to skip leading spaces or NULLs if these occur one
    could presume that the string to interpret had finished.

    {The same bug occurs in both modules}
    Test Output
    /tset/POSIX.os/dataform/cpio/T.cpio 2 Unresolved

    Test Description:
    Each entry in the cpio archive format contains data in the following
    order:
    c_magic 6 bytes
    c_dev 6 bytes
    c_ino 6 bytes
    c_mode 6 bytes
    c_uid 6 bytes
    c_gid 6 bytes
    c_nlink 6 bytes
    c_rdev 6 bytes
    c_mtime 11 bytes
    c_namesize 6 bytes
    c_fileseze 11 bytes
    c_name c_namesize
    c_filedata c_filesize
    Posix Ref: Component CPIO Assertion 10.1.2-01(A)

    Test Information:
    unexpected signal 8 (SIGFPE) received
    ************************************************************************

    Review Information

    Review Type TSMA Review
    Start Date null
    Completed null
    Status Complete
    Review Recommendation No Resolution Given
    Review Response
    This is accepted as a test suite fault and a permanent waiver is recommended.

    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