diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-21 08:14:05 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2020-09-28 06:19:52 +0200 |
commit | fe2cb7c47c9960cd6efbefa2347274c300959e45 (patch) | |
tree | 00eb84c5381452c87911e784561e3311cf4e321c /LICENSE.JFFS2 | |
parent | score: Use RTEMS_ALIGN_UP() (diff) | |
download | rtems-fe2cb7c47c9960cd6efbefa2347274c300959e45.tar.bz2 |
score: Fix allocation size calculation
The previous multiplication error check is broken on 64-bit machines. Use the
recommended check from SEI CERT C Coding Standard, "INT30-C. Ensure that
unsigned integer operations do not wrap".
Make sure the message size computation does not overflow.
Update #4007.
Diffstat (limited to 'LICENSE.JFFS2')
0 files changed, 0 insertions, 0 deletions