On 04/03/2021 14:50, Joel Sherrill wrote:
I will fix the error condition in the specification and adjust the implementation accordingly without changing the API.Can the calculation of allocated size be done in terms of uint64_t and then we can easily check if the allocation is to exceed UINT32_MAX. Then there are no changes to the API and the code doing this should be a lot simpler and less prone to error.
This turned out to be a simple shortcoming of the validation test. This error case can happen also on 64-bit targets. There was no specification, API, and implementation change necessary, just a fix in the test code:
https://git.rtems.org/rtems/commit/?id=8fe59be236e7f2047adb6e393639bbf56bbd996d -- embedded brains GmbH Herr Sebastian HUBER Dornierstr. 4 82178 Puchheim Germany email: [email protected] phone: +49-89-18 94 741 - 16 fax: +49-89-18 94 741 - 08 Registergericht: Amtsgericht München Registernummer: HRB 157899 Vertretungsberechtigte Geschäftsführer: Peter Rasmussen, Thomas Dörfler Unsere Datenschutzerklärung finden Sie hier: https://embedded-brains.de/datenschutzerklaerung/ _______________________________________________ devel mailing list [email protected] http://lists.rtems.org/mailman/listinfo/devel
