|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2015-05-26 12:05 UTC] cmb@php.net
-Status: Open
+Status: Suspended
[2015-05-26 12:05 UTC] cmb@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 09:00:02 2025 UTC |
Description: ------------ Operating system: gentoo linux, 2.6.14-hardened kernel, php 5.1.6-pl4, Apache 2.0.58, pecl-id3 version 0.2. I mounted an mp3dir using samba. Although php's is_readable() returns the file is readable, the file isn't. The samba share i'm reading the info from, didn't share that file as readable. When i try id3_get_tag() on a file (on that samba share), which is not readable, the apache child segfaults: [Sun Oct 08 13:38:28 2006] [notice] child pid 13319 exit signal Segmentation fault (11). I don't know if it also crashes on a non-readable file, not on a samba share. id3_get_version() seems to handle well, it returns a php-error message. Reproduce code: --------------- if($tag = @id3_get_tag($mediaDir.$file)) {; print_r($tag); } else { echo "Can't read tag information from $file<br>\n"; } Expected result: ---------------- $tag should be filled with id3 tag information. Actual result: -------------- If the file is readonly; it returns a blank page and the apache child segfaults.