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

The Open Brand -- Problem Reporting and Interpretations System


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


Report 2710 Actions


    Problem Report Number 2710
    Submitter's Classification Minor System Fault
    State Resolved
    Resolution Minor System Fault (MSF)
    Problem Resolution ID MSF.X.0124
    Raised 2020-06-11 14:01
    Updated 2020-06-11 09:45
    Published 2020-06-11 09:45
    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{23}
    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
    RLIMIT_AS. 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 23 ("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 23 1 11:39:23|IC Start
    520|1 23 00018439 1 1|PREP: Obtain the current limits
    520|1 23 00018439 1 2|TEST: Set limits with setrlimit
    520|1 23 00018439 1 3|INFO: Raise succeeded
    520|1 23 00018439 1 4|TEST: malloc() returns ENOMEM
    520|1 23 00018439 1 5|ERROR: Expected malloc() to fail but it did not
    220|1 23 1 11:39:23|FAIL
    410|1 23 1 11:39:23|IC End

    Review Information

    Review Type SA Review
    Start Date 2020-06-11 14:01
    Last Updated 2020-06-11 09:45
    Completed 2020-06-11 09:45
    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