GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Unserialize invalid random data [tests/034.phpt] fails on alpine linux with php 7.3 · Issue #136 · msgpack/msgpack-php

Unserialize invalid random data [tests/034.phpt] fails on alpine linux with php 7.3 #136

New issue
Copy link
New issue
Copy link
Open
Open
Unserialize invalid random data [tests/034.phpt] fails on alpine linux with php 7.3#136
Copy link
Labels
bug

Description

@ncopa
ncopa
opened on Jun 14, 2019
Issue body actions
PHP         : /usr/bin/php7                                                                                                                                                                                                                                                                                                                         
PHP_SAPI    : cli                                                                                                                                                                                                                                                                                                                                   
PHP_VERSION : 7.3.6                                                        
ZEND_VERSION: 3.3.6                                                                                                                                                                                                                                                                                                                                 
PHP_OS      : Linux - Linux ncopa-edge-x86_64 4.9.65 #1-Alpine SMP Fri Nov 24 17:48:25 GMT 2017 x86_64                                                                                                                                                                                                                                              
INI actual  : /home/ncopa/aports/community/php7-pecl-msgpack/src/msgpack-2.0.3/tmp-php.ini                                                                                
More .INIs  :                                                                                                                                                                                                                                                                                                                                       
CWD         : /home/ncopa/aports/community/php7-pecl-msgpack/src/msgpack-2.0.3                                                                                                                                                                                                                                                                      
Extra dirs  :                                                                      
VALGRIND    : Not used                                                        
...

=====================================================================
TEST RESULT SUMMARY
---------------------------------------------------------------------
Exts skipped    :    0
Exts tested     :   14
---------------------------------------------------------------------

Number of tests :  115               111
Tests skipped   :    4 (  3.5%) --------
Tests warned    :    0 (  0.0%) (  0.0%)
Tests failed    :    1 (  0.9%) (  0.9%)
Expected fail   :    0 (  0.0%) (  0.0%)
Tests passed    :  110 ( 95.7%) ( 99.1%)
---------------------------------------------------------------------
Time taken      :    5 seconds
=====================================================================

=====================================================================
FAILED TEST SUMMARY
---------------------------------------------------------------------
Unserialize invalid random data [tests/034.phpt]
=====================================================================

Activity

  1. m6w6
    added
    bug
    on Dec 18, 2019
  2. travispaul commented on Apr 13, 2020

    @travispaul
    travispaul
    on Apr 13, 2020
    More actions

    FWIW this is also causing a segfault. For example here's a simplified reproducer script:

    <?php
      // Program terminated with signal SIGSEGV, Segmentation fault.
      // #0  0x00000000af8ce5df in zend_unmangle_property_name_ex ()
      $data = '85000101020203a774657374696e6779d5c8a1b6a90677721846a830d89af7918852c1fb84e6e66987e3f8d180';
      msgpack_unserialize(hex2bin($data));
  3. andypost commented on Nov 27, 2020

    @andypost
    andypost
    on Nov 27, 2020
    Contributor
    More actions

    That's still valid but thanks for XFAIL

    TEST 37/136 [tests/034.phpt]
    ========DIFF========
    001+ 
    001- OK
    ========DONE========
    XFAIL Unserialize invalid random data [tests/034.phpt]   XFAIL REASON: REGRESSION
    
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.