mirror of
https://github.com/valitydev/osquery-1.git
synced 2024-11-08 10:23:54 +00:00
3be0994933
This fixes a crash identified by @endrazine. When apt sources data in /etc/apt/sources.list or /etc/apt/sources.list.d/{*}.list contain invalid data/lines the cache_file.GetPkgCache(); call will fail and cache will be nullptr. Subsequent usage results in a SIGSEV. To reproduce the fault try: $ zzuf -I /etc/ -r 0.01:0.1 -s 0:1000 -v \ ./build/trusty/osquery/osqueryi --registry_exceptions=true --verbose \ "select count(*) from apt_sources" Signed-off-by: Jonathan Brossard |
||
---|---|---|
.. | ||
tests | ||
audit.cpp | ||
audit.h | ||
inotify.cpp | ||
inotify.h | ||
kernel_util.cpp | ||
udev.cpp | ||
udev.h |