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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 1345 Actions


    Problem Report Number 1345
    Submitter's Classification Test Suite problem
    State Resolved
    Resolution Test Suite Deficiency (TSD)
    Problem Resolution ID TSD.X.0627
    Raised 1970-01-01 08:00
    Updated 2003-03-13 08:00
    Published 1997-06-18 08:00
    Product Standard Internationalised System Calls and Libraries Extended (UNIX 95)
    Certification Program The Open Brand certification program
    Test Suite VSU version 4.1.1
    Test Identification base/regcmp 26
    Problem Summary TSD4U.00190 This test may fail because memory is being freed twice.
    Problem Text
    In the regcmp test case 26
    when Begin=0176 the inner loop which contains the regcmp is not entered
    because End==Begin+1==0177. This leads to the situation that at the end
    a free(cresults) is done on an address that has been freed during the
    loop iteration when Begin=0175. It seems that the free should be in the
    inner loop and the free on already free space is a testsuite deficiency.
    On our implementation a free on an already freed space leads to a
    segmentation violation, which is conformant with the specification:
    Any use of a pointer that refers to freed space causes undefined behaviour.
    Test Output
    200|1 1 10:37:08|TP Start
    520|1 1 300 1 1|SPEC1170TESTSUITE CASE 26
    520|1 1 300 1 2|A call to char *regcmp(const char
    520|1 1 300 1 3|*string1, ...) shall interpret [^]A-Z] where A is the
    520|1 1 300 1 4|first character in a range and Z is the last as a
    520|1 1 300 1 5|one-character regular expression matching all
    520|1 1 300 1 6|characters except a right square bracket and the range
    520|1 1 300 1 7|of consecutive ASCII characters from A to Z inclusive.
    520|1 1 301 1 1|PREP: Set POSIX locale
    520|1 1 301 1 2|TEST: For each character in range:
    520|1 1 301 1 3| Compiled pattern matches the characters in range
    520|1 1 301 1 4| Compiled pattern does not match other characters
    520|1 1 300 2 1|ERROR: TEST TERMINATED DUE TO SIGSEGV SIGNAL (11)
    220|1 1 1 10:37:43|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:

     

    Back   


Contact the Certification Authority