fix(adhoc-sweep-fixes): CU-86akhf8u2 56 review findings across 40 files - #65
Draft
flamingo[bot] wants to merge 40 commits into
Draft
flamingo[bot] wants to merge 40 commits into
flamingo[bot] wants to merge 40 commits into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes 56 review findings across 40 files.
Draft — this is a starting point, not a finished change. The fix required judgment, so read it before trusting it.
plugins/database/sqlite.cpp:118plugins/database/sqlite.cpp:275plugins/database/sqlite.cpp:150plugins/database/sqlite.cpp:214tools/tests/test_windows_service.py:106tools/tests/test_windows_service.py:249x is not ''used for string comparison (identity vs equality bug)tools/tests/test_windows_service.py:110osquery/tables/applications/jetbrains_plugins.cpp:28osquery/tables/applications/jetbrains_plugins.cpp:52osquery/tables/applications/jetbrains_plugins.cpp:38osquery/events/darwin/es_utils.cpp:159osquery/events/darwin/es_utils.cpp:145osquery/core/windows/wmi.cpp:229osquery/core/windows/wmi.cpp:195osquery/tables/system/windows/smbios_tables.cpp:31osquery/tables/system/windows/smbios_tables.cpp:47osquery/events/darwin/scnetwork.cpp:46osquery/events/darwin/scnetwork.cpp:114osquery/tables/system/windows/windows_search.cpp:397osquery/tables/system/windows/windows_search.cpp:252osquery/tables/system/system_utils.cpp:34osquery/tables/system/linux/portage.cpp:317osquery/tables/system/darwin/quicklook_cache.cpp:120osquery/tables/yara/yara_utils.cpp:196osquery/tables/system/windows/dns_cache.cpp:136osquery/tables/system/windows/scheduled_tasks.cpp:89osquery/utils/pidfile/pidfile_posix.cpp:114osquery/events/darwin/fsevents.cpp:231osquery/events/linux/bpf/filesystem.cpp:128osquery/tables/system/windows/registry.cpp:473osquery/filesystem/file_compression.cpp:51osquery/filesystem/file_compression.cpp:117osquery/carver/carver.cpp:352osquery/carver/carver.cpp:271osquery/database/ephemeral.cpp:168osquery/database/ephemeral.cpp:155osquery/events/linux/inotify.cpp:349osquery/events/linux/inotify.cpp:69osquery/tables/system/tests/linux/md_tables_tests.cpp:174osquery/tables/system/tests/linux/rpm_packages_tests.cpp:96osquery/events/windows/etw/etw_provider_config.cpp:25osquery/tables/system/windows/windows_optional_features.cpp:42osquery/tables/system/posix/system_controls.cpp:65osquery/tables/system/windows/intel_me.cpp:270selected_gidsshadows outer variable in genGroupsosquery/tables/system/windows/groups.cpp:67.split("\n")on subprocess bytes output without decodingtools/codegen/genapi.py:277osquery/tables/system/darwin/keychain_utils.cpp:79osquery/tables/system/windows/cpu_info.cpp:21osquery/events/events.cpp:42osquery/sql/dynamic_table_row.cpp:103osquery/tables/system/windows/wmi_bios_info.cpp:126osquery/events/windows/etw/etw_kernel_session.cpp:135osquery/tables/system/windows/programs.cpp:23osquery/utils/pidfile/pidfile_windows.cpp:88osquery/worker/ipc/linux/linux_table_container_ipc.cpp:139What changed — and what was deliberately left — is explained per finding as inline review comments on the lines each finding touched.
Run: https://product-hub.flamingo.so/admin/code-review
Run id:
f72ecbf3-9b66-4d6c-b85c-8e5d888e7d88Merging this PR is recorded as acceptance of the rule that produced it;
closing it unmerged is recorded as rejection. Both feed rule health, so
closing a wrong suggestion is useful rather than merely tidy.
ClickUp task: CU-86akhf8u2 Osquery review findings sweep (1 PRs)