8000 redis_cluster_load crash · Issue #867 · phpredis/phpredis · GitHub
[go: up one dir, main page]

Skip to content
redis_cluster_load crash #867
74DD
Closed
Closed
@yatsukhnenko

Description

@yatsukhnenko

There are a lot of calls estrdup(INI_STR(""redis.clusters.*")) without checking INI params existence in redis_cluster_load

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff5493eda in strlen () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff5493eda in strlen () from /lib64/libc.so.6
#1  0x00000000007a74e8 in _estrdup ()
#2  0x00007fffec35875a in redis_cluster_load () from /usr/lib64/php5.5/lib/extensions/debug-zts-20121212/redis.so
#3  0x00007fffec358a30 in zim_RedisCluster___construct () from /usr/lib64/php5.5/lib/extensions/debug-zts-20121212/redis.so
#4  0x0000000000838690 in ?? ()
#5  0x0000000000839128 in ?? ()
#6  0x00000000008379bd in execute_ex ()
#7  0x0000000000837aa6 in zend_execute ()
#8  0x00000000007d8ab6 in zend_eval_stringl ()
#9  0x00000000007d8ea8 in zend_eval_stringl_ex ()
#10 0x00000000007d8f6f in zend_eval_string_ex ()
#11 0x00000000008b91ca in ?? ()
#12 0x00000000008ba624 in main ()

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0