Skip to content

Instantly share code, notes, and snippets.

@zimmerle
Created February 7, 2019 15:54
Show Gist options
  • Save zimmerle/40707610123c718744e9d42b7477e70b to your computer and use it in GitHub Desktop.
Save zimmerle/40707610123c718744e9d42b7477e70b to your computer and use it in GitHub Desktop.
==5853==
==5853== Use of uninitialised value of size 8
==5853== at 0x76FD4D5: ??? (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x76FE461: ??? (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x76DB3C7: ??? (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x76DD3A2: ??? (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x7705E2D: re2::RE2::Init(re2::StringPiece const&, re2::RE2::Options const&) (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x7706DE3: re2::RE2::RE2(re2::StringPiece const&, re2::RE2::Options const&) (in /usr/lib/libre2.so.0.0.0)
==5853== by 0x1F2479: modsecurity::regex::backend::Re2::Re2(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (re2.cc:43)
==5853== by 0x1D8BB0: modsecurity::regex::backend::Backend* modsecurity::regex::compile_regex_fallback<modsecurity::regex::backend::Re2, modsecurity::regex::backend::Pcre>(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (backend_fallback.h:32)
==5853== by 0x1D8CA3: BackendFallback (backend_fallback.h:45)
==5853== by 0x1D8CA3: Regex (regex.h:51)
==5853== by 0x1D8CA3: modsecurity::operators::Rx::init(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >*) (rx.cc:33)
==5853== by 0x218246: yy::seclang_parser::parse() (seclang-parser.yy:927)
==5853== by 0x1F80A1: modsecurity::Parser::Driver::parse(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (driver.cc:154)
==5853== by 0x19DCF5: modsecurity::Rules::load(char const*, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&) (rules.cc:114)
==5853== by 0x178C03: perform_unit_test(modsecurity_test::ModSecurityTest<modsecurity_test::RegressionTest>*, std::vector<modsecurity_test::RegressionTest*, std::allocator<modsecurity_test::RegressionTest*> >*, modsecurity_test::ModSecurityTestResults<modsecurity_test::RegressionTestResult>*, int*) (regression.cc:181)
==5853== by 0x17464F: main (regression.cc:507)
@WGH-
Copy link

WGH- commented Feb 8, 2019

google/re2@b6e2ddf
So it's likely not a bug.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment