diff options
author | Elvira Khabirova <e.khabirova@omp.ru> | 2021-11-09 18:47:19 +0300 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2021-12-14 16:00:44 +0100 |
commit | 8b21a1b9b2f9862ef4774ce3c27f87628cce8264 (patch) | |
tree | 0daab6bf9a24e4da3d36f229a108df18cb7648da /spec/build/bsps/m68k | |
parent | libfdt: Add ALIGNMENT error string (diff) | |
download | rtems-8b21a1b9b2f9862ef4774ce3c27f87628cce8264.tar.bz2 |
libfdt: fix an incorrect integer promotion
UINT32_MAX is an integer of type unsigned int. UINT32_MAX + 1 overflows
unless explicitly computed as unsigned long long. This led to some
invalid addresses being treated as valid.
Cast UINT32_MAX to uint64_t explicitly.
Signed-off-by: Elvira Khabirova <e.khabirova@omp.ru>
Diffstat (limited to 'spec/build/bsps/m68k')
0 files changed, 0 insertions, 0 deletions