| 
        php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
 Patchespatch-fix-sort (last revision 2017-02-24 22:11 UTC by as@php.net)Pull RequestsHistoryAllCommentsChangesGit/SVN commits             
             [2017-02-24 22:11 UTC] as@php.net
  [2017-02-24 22:13 UTC] as@php.net
  [2017-02-27 15:16 UTC] as@php.net
  [2017-02-27 15:16 UTC] as@php.net
 
-Status: Open
+Status: Closed
  [2017-02-27 15:18 UTC] as@php.net
  | 
    |||||||||||||||||||||||||||
            
                 
                Copyright © 2001-2025 The PHP GroupAll rights reserved.  | 
        Last updated: Tue Nov 04 13:00:02 2025 UTC | 
Description: ------------ Internal function `oauth_http_build_query` segfaults when encoding an array value. The underlying issue is in the sort comparator `oauth_compare_value` which is doing a PHP 5-style cast. Bugfix attached. Test script: --------------- <?php oauth_get_sbs('GET', 'http://127.0.0.1:12342/script',array('arg2' => [1, 2, 3])); Expected result: ---------------- no segfault Actual result: -------------- segfault