Bug #75379 [Opn]: Warning: finfo_file(): Null byte in regex in /root/php-src/bug/1.php on line 4

From: Date: Sun, 15 Oct 2017 08:11:38 +0000
Subject: Bug #75379 [Opn]: Warning: finfo_file(): Null byte in regex in /root/php-src/bug/1.php on line 4
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-211690@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75379&edit=1 ID: 75379 User updated by: chipitsine at gmail dot com Reported by: chipitsine at gmail dot com Summary: Warning: finfo_file(): Null byte in regex in /root/php-src/bug/1.php on line 4 Status: Open Type: Bug Package: *General Issues Operating System: centos 7 PHP Version: Irrelevant Block user comment: N Private report: N New Comment: if someone wishes to get VirusShare_01ff33de3e8bdded777bdcabe1c983c1, please contact me, I'll provide Previous Comments: ------------------------------------------------------------------------ [2017-10-15 08:09:36] chipitsine at gmail dot com Description: ------------ when analyzing malware samples from VirusShare, I encountered a sample that fails on finfo_file it's VirusShare_01ff33de3e8bdded777bdcabe1c983c1 I do not know how to upload it here Test script: --------------- $finfo = finfo_open(FILEINFO_MIME); $type = finfo_file($finfo, __DIR__.'/VirusShare_01ff33de3e8bdded777bdcabe1c983c1'); ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75379&edit=1

« previous php.bugs (#211690) next »