Thomas Haller 558df52e6e attr: nla_get_u64() should return 0 if the attribute does not fully contain 64 bit
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>
2014-06-25 12:37:58 +02:00
2012-06-01 13:10:03 +02:00
2014-06-17 17:24:42 +02:00
2014-04-16 10:08:47 +02:00
2012-06-06 11:43:53 +02:00
2012-01-17 12:38:37 +01:00
Description
No description provided
15 MiB
Languages
Shell 100%