View Issue Details

IDProjectCategoryView StatusLast Update
0034910mantisbtadministrationpublic2024-10-27 06:50
Reporterdregad Assigned Todregad  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Product Version2.16.0 
Target Version2.28.0 
Summary0034910: Fatal error in Admin Checks when using invalid FileInfo magic database
Description

When given an invalid magic.db, the finfo constructor triggers PHP warnings which causes undesired output in the Admin Checks page, and finally throws an Exception which is not caught by the code, resulting in a fatal error.

TagsNo tags attached.

Relationships

related to 0024501 closedatrol MantisBT on Windows - Check for php_fileinfo.dll enabled on php.ini 

Activities

dregad

dregad

2024-10-27 06:50

developer   ~0069401

Sample output with and without Xdebug.

invalid_magicdb_no_xdebug.png (56,681 bytes)   
invalid_magicdb_no_xdebug.png (56,681 bytes)   
invalid_magicdb_with_xdebug.png (237,448 bytes)   
invalid_magicdb_with_xdebug.png (237,448 bytes)