Grokbase Groups PHP php-cvs May 2016
FAQ
Commit: ce932f6479a185d7f7f8a6d1eb9f735bbcadf001
Author: Remi Collet <remi@php.net> Wed, 25 May 2016 16:17:12 +0200
Parents: 65a2c451bbe0f9484d80611d7e3c538a129e5847
Branches: PHP-5.6 PHP-7.0 master

Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ce932f6479a185d7f7f8a6d1eb9f735bbcadf001

Log:
Skip test which is 64bits only

Diff from test output
001+ Warning: fread(): Length parameter must be greater than 0 in ...
001- Warning: fread(): Length parameter must be no more than 2147483647 in ...

Changed paths:
   M ext/standard/tests/file/bug72114.phpt


Diff:
diff --git a/ext/standard/tests/file/bug72114.phpt b/ext/standard/tests/file/bug72114.phpt
index f0f11c1..45570a3 100644
--- a/ext/standard/tests/file/bug72114.phpt
+++ b/ext/standard/tests/file/bug72114.phpt
@@ -1,5 +1,7 @@
  --TEST--
  Bug #72114 (Integer underflow / arbitrary null write in fread/gzread)
+--SKIPIF--
+<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
  --FILE--
  <?php
  ini_set('memory_limit', "2500M");

Search Discussions

  • JulienPauli at May 25, 2016 at 2:39 pm
    Commit: 4dd03651f3c90a754600e9b76e33c9481bd9e720
    Author: Remi Collet <remi@php.net> Wed, 25 May 2016 16:17:12 +0200
    Committer: Julien Pauli <jpauli@php.net> Wed, 25 May 2016 16:40:52 +0200
    Parents: 0c84740450814d0668c3dfba3d3a1c3cd6fabc4b
    Branches: PHP-5.5

    Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=4dd03651f3c90a754600e9b76e33c9481bd9e720

    Log:
    Skip test which is 64bits only

    Diff from test output
    001+ Warning: fread(): Length parameter must be greater than 0 in ...
    001- Warning: fread(): Length parameter must be no more than 2147483647 in ...

    Changed paths:
       M ext/standard/tests/file/bug72114.phpt


    Diff:
    diff --git a/ext/standard/tests/file/bug72114.phpt b/ext/standard/tests/file/bug72114.phpt
    index 5e591ee..3cd03fd 100644
    --- a/ext/standard/tests/file/bug72114.phpt
    +++ b/ext/standard/tests/file/bug72114.phpt
    @@ -1,5 +1,7 @@
      --TEST--
      Bug #72114 (Integer underflow / arbitrary null write in fread/gzread)
    +--SKIPIF--
    +<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
      --FILE--
      <?php
      ini_set('memory_limit', "2500M");
  • Ferenc Kovacs at May 26, 2016 at 12:50 am
    Commit: fba887ae24c6ab617d2a457d9ed6e5b1eace9788
    Author: Remi Collet <remi@php.net> Wed, 25 May 2016 16:17:12 +0200
    Committer: Ferenc Kovacs <tyrael@php.net> Thu, 26 May 2016 02:50:00 +0200
    Parents: a3916cd9594a945a043169e9b8dc82fa2b8d99bb
    Branches: PHP-5.6.22

    Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fba887ae24c6ab617d2a457d9ed6e5b1eace9788

    Log:
    Skip test which is 64bits only

    Diff from test output
    001+ Warning: fread(): Length parameter must be greater than 0 in ...
    001- Warning: fread(): Length parameter must be no more than 2147483647 in ...

    Changed paths:
       M ext/standard/tests/file/bug72114.phpt


    Diff:
    diff --git a/ext/standard/tests/file/bug72114.phpt b/ext/standard/tests/file/bug72114.phpt
    index f0f11c1..45570a3 100644
    --- a/ext/standard/tests/file/bug72114.phpt
    +++ b/ext/standard/tests/file/bug72114.phpt
    @@ -1,5 +1,7 @@
      --TEST--
      Bug #72114 (Integer underflow / arbitrary null write in fread/gzread)
    +--SKIPIF--
    +<?php if (PHP_INT_SIZE != 8) die("skip this test is for 64bit platform only"); ?>
      --FILE--
      <?php
      ini_set('memory_limit', "2500M");

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupphp-cvs @
categoriesphp
postedMay 25, '16 at 2:20p
activeMay 26, '16 at 12:50a
posts3
users3
websitephp.net

People

Translate

site design / logo © 2019 Grokbase