Created
December 4, 2022 16:12
-
-
Save bshambaugh/d98bea1fa134d7dbb034445f68058c9c to your computer and use it in GitHub Desktop.
fix the unitialized value jump
This file contains 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
==32719== 1 errors in context 1 of 4: | |
==32719== Conditional jump or move depends on uninitialised value(s) | |
==32719== at 0x4C34996: strcat (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so) | |
==32719== by 0x1174C2: mergeCharArray(int, unsigned char*, char*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x117817: mergeCharArray_merge_a_char_array_Test::TestBody() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14C231: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x146246: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x128ADD: testing::Test::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129500: testing::TestInfo::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129DEB: testing::TestSuite::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1391A3: testing::internal::UnitTestImpl::RunAllTests() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14D456: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1471CA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x137881: testing::UnitTest::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== | |
==32719== | |
==32719== 1 errors in context 2 of 4: | |
==32719== Conditional jump or move depends on uninitialised value(s) | |
==32719== at 0x115607: testing::AssertionResult testing::internal::CmpHelperNE<unsigned char, unsigned char>(char const*, char const*, unsigned char const&, unsigned char const&) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x113E68: hexCharacterStringToBytes_convert_arrays_to_hex_not_equal_hex_string_different_last_byte_2nd_to_last_nibble_Test::TestBody() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14C231: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x146246: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x128ADD: testing::Test::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129500: testing::TestInfo::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129DEB: testing::TestSuite::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1391A3: testing::internal::UnitTestImpl::RunAllTests() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14D456: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1471CA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x137881: testing::UnitTest::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x111F71: RUN_ALL_TESTS() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== | |
==32719== | |
==32719== 1 errors in context 3 of 4: | |
==32719== Conditional jump or move depends on uninitialised value(s) | |
==32719== at 0x115607: testing::AssertionResult testing::internal::CmpHelperNE<unsigned char, unsigned char>(char const*, char const*, unsigned char const&, unsigned char const&) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x113A88: hexCharacterStringToBytes_convert_arrays_to_hex_not_equal_hex_string_different_last_byte_last_nibble_Test::TestBody() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14C231: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x146246: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x128ADD: testing::Test::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129500: testing::TestInfo::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129DEB: testing::TestSuite::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1391A3: testing::internal::UnitTestImpl::RunAllTests() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14D456: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1471CA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x137881: testing::UnitTest::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x111F71: RUN_ALL_TESTS() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== | |
==32719== | |
==32719== 1 errors in context 4 of 4: | |
==32719== Conditional jump or move depends on uninitialised value(s) | |
==32719== at 0x115607: testing::AssertionResult testing::internal::CmpHelperNE<unsigned char, unsigned char>(char const*, char const*, unsigned char const&, unsigned char const&) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1136A8: hexCharacterStringToBytes_convert_arrays_to_hex_not_equal_byte_array_different_Test::TestBody() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14C231: void testing::internal::HandleSehExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x146246: void testing::internal::HandleExceptionsInMethodIfSupported<testing::Test, void>(testing::Test*, void (testing::Test::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x128ADD: testing::Test::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129500: testing::TestInfo::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x129DEB: testing::TestSuite::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1391A3: testing::internal::UnitTestImpl::RunAllTests() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x14D456: bool testing::internal::HandleSehExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x1471CA: bool testing::internal::HandleExceptionsInMethodIfSupported<testing::internal::UnitTestImpl, bool>(testing::internal::UnitTestImpl*, bool (testing::internal::UnitTestImpl::*)(), char const*) (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x137881: testing::UnitTest::Run() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== by 0x111F71: RUN_ALL_TESTS() (in /home/ubuntu/Downloads/blinky_utils/.pio/build/native/program) | |
==32719== | |
==32719== ERROR SUMMARY: 4 errors from 4 contexts (suppressed: 0 from 0) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment