Upgrading zlib to 1.3.1 by ksykulev · Pull Request #8625 · osquery/osquery
Doesn't look like there is a whole bunch of uses currently.
During office hours we discussed whether or not we want to sneak this into the upcoming 5.18 release, and the consensus seemed like no. So gives me a bit more time to test on windows/linux.
$ grep -ir 'zlib' osquery/
osquery/tables/system/tests/linux/rpm_packages_tests.cpp: {"zlib-devel", "1.2.11", "202827943881ba133a7e8ca91290dcc71083a8e1"},
osquery/remote/CMakeLists.txt: thirdparty_zlib
osquery/remote/tests/requests_tests.cpp: * Reference: http://www.zlib.org/rfc-gzip.html
osquery/remote/tests/requests_tests.cpp: * https://github.com/madler/zlib/blob/master/zutil.h#L86
osquery/remote/requests.cpp:#include <zlib.h>
osquery/remote/requests.cpp:#define MOD_GZIP_ZLIB_WINDOWSIZE 15
osquery/remote/requests.cpp:#define MOD_GZIP_ZLIB_CFACTOR 9
osquery/remote/requests.cpp: MOD_GZIP_ZLIB_WINDOWSIZE + 16,
osquery/remote/requests.cpp: MOD_GZIP_ZLIB_CFACTOR,
$ grep -ir 'compressString' osquery/
osquery/remote/requests.h:std::string compressString(const std::string& data);
osquery/remote/transports/tls.cpp: response_ = client->post(r, (compress) ? compressString(params) : params);
osquery/remote/transports/tls.cpp: response_ = client->put(r, (compress) ? compressString(params) : params);
osquery/remote/tests/requests_tests.cpp: response_status_ = Status(0, (compress) ? compressString(params) : params);
osquery/remote/requests.cpp:std::string compressString(const std::string& data) {