mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2024-12-29 04:50:03 +01:00
pkg/paho-mqtt: fix memory corruption
This fixes instances where a pointer to an enum (possibly sized one byte) is casted to a pointer to int (which is at least two and in most cases four bytes in size). As result, out-of-bounds memory accesses are bound to happen. This was detected by GCC 11.2.0 with -Wstringop-overflow.
This commit is contained in:
parent
2491bbaea3
commit
6a138cc5c4
Binary file not shown.
Loading…
Reference in New Issue
Block a user