mirror of
https://gitee.com/openharmony/third_party_libnl
synced 2025-03-03 08:48:50 +00:00

Manually "inline" nla_memcpy() to nla_get_u64() and change the behavior to return always zero (0) if the attribute does not contain at least sizeof(uint64_t) bytes. Considering endianness, reading a truncated integer does not seem to be useful and should result in a defined behavior instead. Acked-by: Thomas Graf <tgraf@suug.ch> Signed-off-by: Thomas Haller <thaller@redhat.com>
Description
No description provided
Languages
Shell
100%