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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2709 Actions


    Problem Report Number 2709
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0125
    Raised 2020-06-11 14:00
    Updated 2020-06-11 09:46
    Published 2020-06-11 09:46
    Expiry Date 2021-06-11
    Product Standard Internationalised System Calls and Libraries Extended V3 (UNIX 03)
    Certification Program The Open Brand certification program
    Test Suite VSU version 5.3.18NW
    Test Identification /tset/CAPI.os/procenv/setrlimit/T.setrlimit{11}
    Specification Base Definitions Issue 6
    Location in Spec https://pubs.opengroup.org/onlinepubs/009695399/functions/setrlimit.html
    Problem Summary Our implementation fails to enforce the soft limit for malloc() for data
    segment size (RLIMIT_DATA).
    That is, a request for memory that exceeds rlim_cur may succeed.
    Problem Text In VSU tset/CAPI.os/procenv/setrlimit/, the second part of the test for
    Assertion 11 ("When data
    segment size exceeds the limit malloc() fails and sets errno to ENOMEM")
    fails because the
    malloc() call succeeds

    Note that there may be applications that rely on this behavior so we
    would prefer to fix it in the
    next release and provide plenty of warning.
    Test Output 400|1 11 1 14:27:50|IC Start
    520|1 11 00090822 1 1|PREP: Get current limits
    520|1 11 00090822 1 2|PREP: Obtain the system page size by call to
    520|1 11 00090822 1 3| sysconf(_SC_PAGESIZE)
    520|1 11 00090822 1 4|TEST: Set limits with setrlimit
    520|1 11 00090822 1 5|INFO: Raise succeeded
    520|1 11 00090822 1 6|TEST: When data segment size exceeds the limit
    malloc()
    520|1 11 00090822 1 7| fails and sets errno to ENOMEM
    520|1 11 00090822 1 8|ERROR: Call to malloc() did not fail
    220|1 11 1 14:27:50|FAIL
    410|1 11 1 14:27:50|IC End

    Review Information

    Review Type SA Review
    Start Date 2020-06-11 14:00
    Last Updated 2020-06-11 09:46
    Completed 2020-06-11 09:46
    Status Complete
    Review Resolution Minor System Fault (MSF)
    Review Conclusion A minor system fault is granted

    Problem Reporting System Options:

     

    Back   


Contact the Certification Authority