View Issue Details

IDProjectCategoryView StatusLast Update
0000554filegeneralpublic2017-04-11 15:19
ReporterF. Alonso 
Assigned ToChristos Zoulas 
Status feedbackResolutionopen 
Platformx86_64OSlinuxOS VersionFedora
Product Version5.27 
Target VersionFixed in Version 
Summary0000554: use-of-uninitialized-value magiccheck softmagic.c:2100:31
Description==11974==WARNING: MemorySanitizer: use-of-uninitialized-value
    #0 0x7fb0a685518c in magiccheck /home/fuzzer/libFuzzersrc/softmagic.c:2100:31
    #1 0x7fb0a684638a in match /home/fuzzer/libFuzzersrc/softmagic.c:213:12
    #2 0x7fb0a6844172 in file_softmagic /home/fuzzer/libFuzzersrc/softmagic.c:107:13
    0000003 0x7fb0a68686ed in file_ascmagic_with_encoding /home/fuzzer/libFuzzersrc/ascmagic.c:143:13
    0000004 0x7fb0a6868233 in file_ascmagic /home/fuzzer/libFuzzersrc/ascmagic.c:89:8
    0000005 0x7fb0a688b7e9 in file_buffer /home/fuzzer/libFuzzersrc/funcs.c:284:7
    0000006 0x7fb0a6819842 in file_or_fd /home/fuzzer/libFuzzersrc/magic.c:521:6
    0000007 0x7fb0a6819dd2 in magic_file /home/fuzzer/libFuzzersrc/magic.c:399:9
    0000008 0x48cb37 in process /home/fuzzer/libFuzzersrc/file.c:513:9
    0000009 0x48a390 in main /home/fuzzer/libFuzzersrc/file.c:383:9
    0000010 0x7fb0a58e382f in __libc_start_main (/lib/x86_64-linux-gnu/
    0000011 0x419e58 in _start (/opt/file-5.27bin/file+0x419e58)

SUMMARY: MemorySanitizer: use-of-uninitialized-value /home/fuzzer/libFuzzersrc/softmagic.c:2100:31 in magiccheck
Steps To Reproducefile repro.txt
TagsNo tags attached.



F. Alonso

F. Alonso

2016-05-29 21:19


repro.txt (7 bytes)

repro.txt (7 bytes)
Christos Zoulas

Christos Zoulas

2016-06-12 15:17

manager   ~0001348

I cannot reproduce this from the HEAD version.
Christos Zoulas

Christos Zoulas

2017-04-11 15:19

manager   ~0001500

Is this still an issue?

Issue History

Date Modified Username Field Change
2016-05-29 21:19 F. Alonso New Issue
2016-05-29 21:19 F. Alonso File Added: repro.txt
2016-06-12 15:17 Christos Zoulas Assigned To => Christos Zoulas
2016-06-12 15:17 Christos Zoulas Status new => assigned
2016-06-12 15:17 Christos Zoulas Note Added: 0001348
2016-06-12 15:17 Christos Zoulas Status assigned => feedback
2017-04-11 15:19 Christos Zoulas Note Added: 0001500