mirror of
https://github.com/php/pecl-search_engine-sphinx.git
synced 2026-04-23 16:48:01 +02:00
[PR #1] [MERGED] Segfault while calling updateAttributes #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/php/pecl-search_engine-sphinx/pull/1
Author: @deadbabe
Created: 3/23/2016
Status: ✅ Merged
Merged: 3/25/2016
Merged by: @php-pulls
Base:
php7← Head:fix_get_key📝 Commits (1)
9a3d08cfix updateAttributes📊 Changes
1 file changed (+19 additions, -34 deletions)
View changed files
📝
sphinx.c(+19 -34)📄 Description
Last parameter (position) to zend_hash_get_current_key_ex require valid uint32 pointer and coulnd't be NULL. And since ZEND_HASH_FOREACH_* already used, it's might be better to completely drop using it. This fixes segfault while calling updateAttributes and some others.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.