Closed intelmark closed 4 years ago
Hi Mark, could you paste the full report of memory sanitizer?
From the Memory Sanitizer:
SVT-HEVC Encoder Uninitialized bytes in __interceptor_strcmp at offset 0 inside [0x71c000000000, 1) ==31263==WARNING: MemorySanitizer: use-of-uninitialized-value
#1 0x562b882bd6ee in main /repos/SVT-HEVC/Source/App/EbAppMain.c:143:20
#2 0x7f491b417b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
#3 0x562b8823cde9 in _start (/repos/SVT-HEVC/Bin/Debug/SvtHevcEncApp+0x1dde9)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /repos/SVT-HEVC/Source/App/EbAppConfig.c:1279:25 in ReadCommandLine Exiting
@intelmark please use triple backticks around the output to prevent pinging unrelated issues and pr
Uninitialized bytes in __interceptor_strcmp at offset 0 inside [0x71c000000000, 1)
==31263==WARNING: MemorySanitizer: use-of-uninitialized-value
#0 0x562b882b8f12 in ReadCommandLine /repos/SVT-HEVC/Source/App/EbAppConfig.c:1279:25
#1 0x562b882bd6ee in main /repos/SVT-HEVC/Source/App/EbAppMain.c:143:20
#2 0x7f491b417b96 in __libc_start_main /build/glibc-OTsEL5/glibc-2.27/csu/../csu/libc-start.c:310
#3 0x562b8823cde9 in _start (/repos/SVT-HEVC/Bin/Debug/SvtHevcEncApp+0x1dde9)
SUMMARY: MemorySanitizer: use-of-uninitialized-value /repos/SVT-HEVC/Source/App/EbAppConfig.c:1279:25 in ReadCommandLine
Exiting
https://community.openhab.org/t/how-to-use-code-fences/38383
Fixing an issue reported by running the memory sanitizer on Linux. Initializing memory allocated for processing the command lines.
Signed-off-by: Mark Feldman mark.feldman@intel.com