[php-maint] Bug#714041: Bug#714041: php5-cli: Error in `php5': double free or corruption (!prev): 0x0a487ad0

Ondřej Surý ondrej at sury.org
Mon Jul 14 12:13:50 UTC 2014


Control: tags -1 + pending

Thanks Andreas, fixed in git + sent to upstream.

On Sat, Jul 12, 2014, at 22:05, Andreas Schwab wrote:
> Index: php-5.5.11/Zend/Zend.m4
> ===================================================================
> --- php-5.5.11.orig/Zend/Zend.m4
> +++ php-5.5.11/Zend/Zend.m4
> @@ -263,7 +263,7 @@ typedef union _mm_align_test {
>  
>  int main()
>  {
> -  int i = ZEND_MM_ALIGNMENT;
> +  int i = ZEND_MM_ALIGNMENT < 4 ? 4 : ZEND_MM_ALIGNMENT;
>    int zeros = 0;
>    FILE *fp;
>  
> @@ -273,7 +273,7 @@ int main()
>    }
>  
>    fp = fopen("conftest.zend", "w");
> -  fprintf(fp, "%d %d\n", ZEND_MM_ALIGNMENT, zeros);  
> +  fprintf(fp, "%d %d\n", ZEND_MM_ALIGNMENT < 4 ? 4 : ZEND_MM_ALIGNMENT,
> zeros);  
>    fclose(fp);
>  
>    exit(0);
> Index: php-5.5.11/configure
> ===================================================================
> --- php-5.5.11.orig/configure
> +++ php-5.5.11/configure
> @@ -103498,7 +103498,7 @@ typedef union _mm_align_test {
>  
>  int main()
>  {
> -  int i = ZEND_MM_ALIGNMENT;
> +  int i = ZEND_MM_ALIGNMENT < 4 ? 4 : ZEND_MM_ALIGNMENT;
>    int zeros = 0;
>    FILE *fp;
>  
> @@ -103508,7 +103508,7 @@ int main()
>    }
>  
>    fp = fopen("conftest.zend", "w");
> -  fprintf(fp, "%d %d\n", ZEND_MM_ALIGNMENT, zeros);
> +  fprintf(fp, "%d %d\n", ZEND_MM_ALIGNMENT < 4 ? 4 : ZEND_MM_ALIGNMENT,
> zeros);
>    fclose(fp);
>  
>    exit(0);
> 
> Andreas.
> 
> -- 
> Andreas Schwab, schwab at linux-m68k.org
> GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
> "And now for something completely different."
> 
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint


-- 
Ondřej Surý <ondrej at sury.org>
Knot DNS (https://www.knot-dns.cz/) – a high-performance DNS server



More information about the pkg-php-maint mailing list