Commit Graph

2367 Commits

Author SHA1 Message Date
Teddy Reed
b8087a1b26 Fix readFile TOCTOU error 2015-10-26 01:21:05 -07:00
Teddy Reed
654830cf11 Merge pull request #1594 from rcseacord/additional-sign-fixes
eliminated some warnings from Clang 3.7 analyze mode
2015-10-23 13:03:54 -03:00
Mike Arpaia
4f8e3b2656 Merge pull request #1597 from raphdev/kernel-configure-target-fix
Fixing kernel-configure-target syntax error
2015-10-22 16:57:11 -07:00
Raphael Salas
025348d9de fixing kernel-configure-target syntax error 2015-10-22 13:13:49 -04:00
Robert C. Seacord
09481d0381 Fixed some type problems, casting away const, integer types, old style casts, etc. 2015-10-21 20:56:58 +00:00
Robert C. Seacord
1d9695ac31 eliminated some warnings from Clang 3.7 analyze mode 2015-10-21 06:02:58 +00:00
Robert C. Seacord
7a87be9ada more sign coversion errors 2015-10-20 06:08:01 +00:00
Robert C. Seacord
bee99d4291 quieted noisey diagnostics (again) 2015-10-20 02:55:29 +00:00
Robert C. Seacord
1d7877d120 remmoved fanitize compiler option 2015-10-20 02:51:57 +00:00
Javier Marcos
f201b65ef6 Merge pull request #1592 from javuto/update_centos_readme
Removing link to Package CI job
2015-10-19 17:45:18 -07:00
Teddy Reed
7ca9ae89be Merge pull request #1591 from theopolis/fix_ubuntu12_dpkg
Fix Ubuntu12 libdpkg version discovery
2015-10-19 17:21:56 -07:00
Javier Marcos
bc5e492193 Removing link to Package CI job 2015-10-19 16:28:56 -07:00
Teddy Reed
be61f9355c Fix Ubuntu12 libdpkg version discovery 2015-10-19 16:09:19 -07:00
Teddy Reed
c0257aa7d1 Merge pull request #1589 from theopolis/fix_1578
[Fix #1578] Support OPENSSL_NO_SSV3
2015-10-19 11:25:46 -07:00
Teddy Reed
7ba87a88bb Merge pull request #1585 from rcseacord/additional-sign-fixes
Additional sign fixes
2015-10-19 11:25:18 -07:00
Teddy Reed
c81ac80dc1 Merge pull request #1587 from sroberts/osx-flags-default
OSX Default Flags
2015-10-19 11:12:03 -07:00
Teddy Reed
8214dd1309 Merge pull request #1584 from theopolis/fix_1580
[Fix #1580] Handle exceptions in linux process_memory_map
2015-10-19 09:28:16 -07:00
Teddy Reed
f891503cd9 Merge pull request #1577 from nemith/dpkg
Support for newer versions of libdpkg
2015-10-19 09:24:37 -07:00
Teddy Reed
30bcb66212 Merge pull request #1588 from theopolis/file_table_change
Remove boolean type-columns from file in favor of 'type'
2015-10-19 09:23:52 -07:00
Scott J Roberts
1258800279 basic flag added
wrong thing on the clipboard

updated to ProgramArguments vs Program per theopolis
2015-10-19 11:56:12 -04:00
Javier Marcos
d6f7d48fcc Merge pull request #1590 from javuto/update_readme
Updating status icons for master builds
2015-10-18 23:22:28 -07:00
Javier Marcos
60e4d4c444 Updating status icons for master builds 2015-10-18 23:14:34 -07:00
Teddy Reed
00875988dc Use native OS X version as min ABI 2015-10-18 20:47:09 -07:00
Teddy Reed
2bd6398b53 [Fix #1578] Support OPENSSL_NO_SSV3 2015-10-18 20:47:06 -07:00
Teddy Reed
bc50c053fb Remove boolean type-columns from file in favor of 'type' 2015-10-17 12:16:54 -07:00
Robert C. Seacord
e57828aac3 changes for integer sign problems 2015-10-17 00:18:35 +00:00
Teddy Reed
3cc7984cc2 [Fix #1580] Handle exceptions in linux process_memory_map 2015-10-16 16:59:23 -07:00
Robert C. Seacord
acb2f6f628 eliminating diagnostics, mostly for comparisons between signed and unsigned operations 2015-10-16 16:10:37 +00:00
Robert C. Seacord
37b8e83a9e fixes for problems related to unsigned to signed integer comparisons 2015-10-16 16:10:36 +00:00
Robert C. Seacord
0a6a36485c redeclared i from int to size_t in two locatoins to eliminate several signed to unsigned comparisons 2015-10-16 16:10:36 +00:00
Robert C. Seacord
8030866add Update reading-files.md
The smaller example was not going to compile because kPath was not defined.
2015-10-16 16:10:36 +00:00
Teddy Reed
3f8cb14fbb Merge pull request #1579 from nemith/segv
Fix segfault on interfaces tables
2015-10-15 17:58:04 -07:00
Brandon Bennett
f683871653 Fix segfault on interfaces tables
getifaddrs(3) states that ifa_addr can be null. Check to make sure they are not null before accessing them
2015-10-15 16:53:14 -06:00
Brandon Bennett
65738a73c1 Support for newer versions of libdpkg
Libdpkg has some breaking changes in newer versions which prevented
compiling the deb_packages table on Ubuntu 15.04.  This change looks for
the libpkg version user pkg-config and adds some preprocessor magic to
support the newer versions.
2015-10-15 16:43:14 -06:00
Teddy Reed
a30a6e7708 Merge pull request #1573 from theopolis/fix_1570
[Fix #1570] Check for invalid apt sources
2015-10-15 15:21:31 -07:00
Teddy Reed
3be0994933 [Fix #1570] Check for invalid apt sources
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
2015-10-15 15:20:26 -07:00
Teddy Reed
c26f7bf8da Merge pull request #1565 from PickmanSec/master
added comment parsing for profile.py
2015-10-15 12:19:59 -07:00
Teddy Reed
9ddf370e88 Merge pull request #1551 from theopolis/more_remote_docs
Convert wiki to UNIX format and refresh most content
2015-10-15 12:19:06 -07:00
Teddy Reed
2e7415f871 Convert wiki to UNIX format and refresh most content 2015-10-15 12:18:16 -07:00
Teddy Reed
d757d87195 Merge pull request #1574 from pathcl/master
sudo added as requeriment
2015-10-14 18:09:50 -07:00
Michael George
ed00e54aa7 added comment parsing
added packs to profiling

added comment scrubing.
2015-10-14 17:04:38 -07:00
Luis San Martin
0f0d873a96 sudo added as requeriment 2015-10-14 20:05:12 -03:00
Teddy Reed
82b0ccf782 Merge pull request #1553 from arubdesu/docs-darwinSysReqs
explicitly call out OS and requirements at top of OS X install doc
2015-10-13 11:26:32 -07:00
Allister Banks
d79d02dde5 explicitly call out OS compatibility at top of OS X install doc
Reordered install types, Pointed to the CI build status as an indication
of platform support, moved up the line about pkg/lib dependencies
to be after the pkg section. Someone stop Atom from tacking newlines to
the ends of files on save, GitHub, you’re not the boss of me!
2015-10-13 14:10:38 -04:00
Teddy Reed
6678440b48 Merge pull request #1561 from theopolis/fix_tests_4
Minor fix, return an empty query data
2015-10-13 10:06:59 -07:00
Teddy Reed
84d0e9d7b9 Merge pull request #1562 from theopolis/fix_1559
[Fix #1559] Allow boost.filesystem incorrect LC_CTYPE
2015-10-13 10:06:31 -07:00
Teddy Reed
201fbabb28 [Fix #1559] Allow boost.filesystem incorrect LC_CTYPE 2015-10-13 09:55:44 -07:00
Teddy Reed
1c12d274f4 Minor fix, return an empty query data 2015-10-13 09:25:10 -07:00
Teddy Reed
688d289884 Merge pull request #1557 from theopolis/fix_tests_3
Fix test_5_daemon_sigint, and hardware_events tests
2015-10-13 08:49:24 -07:00
Teddy Reed
0440bb970f Fix test_5_daemon_sigint, and hardware_events tests 2015-10-13 08:40:23 -07:00