diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-20 19:30:35 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-04-20 20:33:03 +0200 |
commit | 51defd927427b5b74c3a0c0f0b5c161929547cfc (patch) | |
tree | 7b7dc7a66a95427b3e420f45bd9f1a27ecc4dcf1 /bsps/arm | |
parent | malloc: Hide RTEMS_Malloc_Sbrk_amount (diff) | |
download | rtems-51defd927427b5b74c3a0c0f0b5c161929547cfc.tar.bz2 |
Fix calloc() behaviour in case of overflow
The multiplication to calculate the length of the memory area to
allocate may overflow. Return NULL in case of an overflow.
Close #4389.
Diffstat (limited to 'bsps/arm')
0 files changed, 0 insertions, 0 deletions