Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG]: ERROR Uninitialized bytes #55

Open
SophrosyneX opened this issue Aug 3, 2022 · 0 comments
Open

[BUG]: ERROR Uninitialized bytes #55

SophrosyneX opened this issue Aug 3, 2022 · 0 comments

Comments

@SophrosyneX
Copy link

Crash Inputs

Here is the crash file that trigger the error
cmix_msan_crash_Uninitialized_bytes.zip

Bug Description:

When executing cmix (new release version) with the file inputs and parameter "-n", the MSan (Memory Sanitizer ) instrumented program terminates with Nonfatal Error shown below.

Uninitialized bytes in __interceptor_fopen at offset 53 inside [0x704000000000, 54)
==118027==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x663d28 in RunCompression(bool, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, _IO_FILE*, unsigned long long*, unsigned long long*) /cmix/src/runner.cpp:162:19
    #1 0x667114 in main /cmix/src/runner.cpp:298:10
    #2 0x7efc182d1c86 in __libc_start_main /build/glibc-CVJwZb/glibc-2.27/csu/../csu/libc-start.c:310
    #3 0x420669 in _start (/cmix/cmix_msan+0x420669)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /cmix/src/runner.cpp:162:19 in RunCompression(bool, 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&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, _IO_FILE*, unsigned long long*, unsigned long long*)
Exiting

Step to reproduce

  • download the cmix from github and build it with MSAN
  • Execute cmix with provide files and given parameters "-n".
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant