Skip to content

MemorySanitizer: use-of-uninitialized-value in makefixed.c:43 #437

@nmoinvaz

Description

@nmoinvaz
  Uninitialized value was stored to memory at
    #0 0x427893 in __msan_memcpy.part.330 (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x427893)
    #1 0x49cc0a in write_bytes (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x49cc0a)

  Uninitialized value was created by an allocation of 'state' in the stack frame of function 'makefixed'
    #0 0x495e90 in makefixed /home/runner/work/zlib-ng/zlib-ng/tools/makefixed.c:43

==5120==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x49d58a in llvm_gcda_end_file (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x49d58a)
    #1 0x49cad3 in llvm_writeout_files (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x49cad3)
    #2 0x427523 in MSanAtExitWrapper(void*) (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x427523)
    #3 0x7f968411b040  (/lib/x86_64-linux-gnu/libc.so.6+0x43040)
    #4 0x7f968411b139 in exit (/lib/x86_64-linux-gnu/libc.so.6+0x43139)
    #5 0x7f96840f9b9d in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x21b9d)
    #6 0x41aa89 in _start (/home/runner/work/zlib-ng/zlib-ng/makefixed+0x41aa89)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions