osquery-1/osquery/utils
Stefano Bonicatti 4f78848794 Fix undefined-behavior in osquery::ebpf::consumeWrappedMessagesFromCircularBuffer
Issue highlighted by asan activated in PR osquery/osquery#5628

Ensure WrappedMessage has no padding since its members are written
consecutively in the buffer.
Also use memcpy when retrieving a WrappedMessage from a buffer, since
it could be written at a misaligned address.

PR: osquery/osquery#5665
2019-08-16 16:47:18 +02:00
..
aws Add CMake support 2019-06-26 21:49:06 -04:00
caches Add CMake support 2019-06-26 21:49:06 -04:00
config Add CMake support 2019-06-26 21:49:06 -04:00
conversions Add CMake support 2019-06-26 21:49:06 -04:00
darwin Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
debug Add CMake support 2019-06-26 21:49:06 -04:00
error Add CMake support 2019-06-26 21:49:06 -04:00
expected Add CMake support 2019-06-26 21:49:06 -04:00
info Improve osquery version detection (#5630) 2019-07-23 13:01:20 +02:00
json Add CMake support 2019-06-26 21:49:06 -04:00
macros Add CMake support 2019-06-26 21:49:06 -04:00
schemer Fix undefined-behavior in copyValueFromJValue 2019-08-16 16:47:18 +02:00
status Add CMake support 2019-06-26 21:49:06 -04:00
system Fix undefined-behavior in osquery::ebpf::consumeWrappedMessagesFromCircularBuffer 2019-08-16 16:47:18 +02:00
tests Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
versioning Add CMake support 2019-06-26 21:49:06 -04:00
attribute.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
base64.cpp Fix typo in base64 log message (#5622) 2019-07-03 01:34:25 +02:00
base64.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
BUCK Add thirdparty [boost] dependency to osquery/utils:utils 2019-02-12 04:08:17 -08:00
chars.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
chars.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
CMakeLists.txt Add CMake support 2019-06-26 21:49:06 -04:00
enum_class_hash.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
map_take.h Remove the rest use cases of createError with message as an arg (#5524) 2019-03-13 11:36:21 -07:00
mutex.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
only_movable.cpp Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
only_movable.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00
scope_guard.h Update osquery licensing wording (#5452) 2019-02-19 10:59:48 -08:00