Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)

On little endian:
	map->p == php_magic_database
	map->magic[i] = pointer into the map

	map->p == NULL
	map->magic[i] = pointer to allocated memory

On big endian (ppc64, s390x, ...):
	map->p != php_magic_database and map->p != NULL
        map->magic[i] = pointer into a copy of the map

Trying to efree pointer in the later cause memory corruption
Thanks to dkatulek / Red Hat for the report.
NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  NEWS
  Fixed Bug #66987 Memory corruption in fileinfo ext (bigendian)
NEWS
Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
added test for bug #53965
updated NEWS
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  updated NEWS
  added test for bug #53965
  Fixed bug #53965 <xsl:include> cannot find files w/ relative paths when loaded w/ "file://"
updated NEWS
Fix bug #64330

stream_socket_server() creates wrong Abstract Namespace UNIX sockets
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #64330
NEWS
Fixed bug #61019 (Out of memory on command stream_get_contents)
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fixed bug #61019 (Out of memory on command stream_get_contents)
NEWS
Fix bug #66182 	exit in stream filter produces segfault

Unfortunately, a segv caused by exit cannot be tested reliably.
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix bug #66182 	exit in stream filter produces segfault
NEWS
Fix Bug #66736 	fpassthru broken
Merge branch 'PHP-5.4' into PHP-5.5

* PHP-5.4:
  Fix Bug #66736 	fpassthru broken