View Issue Details

IDProjectCategoryView StatusLast Update
0000485fileGeneralpublic2024-02-29 03:51
Reporterr4gn4r0x Assigned Tochristos  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Product Version5.44 
Fixed in VersionHEAD 
Summary0000485: MSDOS executables incorrectly classified as "Windows Icons Library 16-bit"
DescriptionAn MSDOS executable, previously classified with file 5.38 as "MS-DOS executable" now gets classified as "Windows Icons Library 16-bit" with file 5.44.
Steps To Reproduce$ file --version
file-5.38
magic file from /etc/magic:/usr/share/misc/magic
$ file ~/.wine32/drive_c/windows/rundll.exe
/home/user/.wine32/drive_c/windows/rundll.exe: MS-DOS executable

$ file --version
file-5.44
magic file from /etc/magic:/usr/share/misc/magic
$ file ~/.wine32/drive_c/windows/rundll.exe
/home/user/.wine32/drive_c/windows/rundll.exe: Windows Icons Library 16-bit
Additional InformationTested on the exact same EXE from a Wine installation on Ubuntu 22.04.
Tagsmagic

Activities

r4gn4r0x

2023-11-04 14:13

reporter   ~0003978

Other examples :

$ file --version
file-5.44
magic file from /etc/magic:/usr/share/misc/magic
$ file ~/.wine32/drive_c/windows/rundll.exe ~/.wine32/drive_c/windows/system32/gdi.exe ~/.wine32/drive_c/windows/system32/user.exe ~/.wine32/drive_c/windows/system32/mouse.drv ~/.wine32/drive_c/windows/system32/winaspi.dll
/home/user/.wine32/drive_c/windows/rundll.exe: Windows Icons Library 16-bit
/home/user/.wine32/drive_c/windows/system32/gdi.exe: Windows Icons Library 16-bit
/home/user/.wine32/drive_c/windows/system32/user.exe: Windows Icons Library 16-bit
/home/user/.wine32/drive_c/windows/system32/mouse.drv: Windows Icons Library 16-bit
/home/user/.wine32/drive_c/windows/system32/winaspi.dll: Windows Icons Library 16-bit

$ file --version
file-5.38
magic file from /etc/magic:/usr/share/misc/magic
$ file ~/.wine32/drive_c/windows/rundll.exe ~/.wine32/drive_c/windows/system32/gdi.exe ~/.wine32/drive_c/windows/system32/user.exe ~/.wine32/drive_c/windows/system32/mouse.drv ~/.wine32/drive_c/windows/system32/winaspi.dll
/home/morfal/.wine32/drive_c/windows/rundll.exe: MS-DOS executable, NE for MS Windows 3.x (EXE)
/home/morfal/.wine32/drive_c/windows/system32/gdi.exe: MS-DOS executable, NE for MS Windows 3.x (DLL or font)
/home/morfal/.wine32/drive_c/windows/system32/user.exe: MS-DOS executable, NE for MS Windows 3.x (DLL or font)
/home/morfal/.wine32/drive_c/windows/system32/mouse.drv: MS-DOS executable, NE for MS Windows 3.x (DLL or font)
/home/morfal/.wine32/drive_c/windows/system32/winaspi.dll: MS-DOS executable, NE for MS Windows 3.x (DLL or font)

christos

2024-02-29 03:51

manager   ~0004013

Should be fixed in HEAD.

Issue History

Date Modified Username Field Change
2023-11-04 12:31 r4gn4r0x New Issue
2023-11-04 12:31 r4gn4r0x Tag Attached: magic
2023-11-04 14:13 r4gn4r0x Note Added: 0003978
2024-02-29 03:49 christos Assigned To => christos
2024-02-29 03:49 christos Status new => assigned
2024-02-29 03:51 christos Status assigned => resolved
2024-02-29 03:51 christos Resolution open => fixed
2024-02-29 03:51 christos Fixed in Version => HEAD
2024-02-29 03:51 christos Note Added: 0004013