Skip to content

Seg faults when key is unicode. #12

@gongchengshi

Description

@gongchengshi

I'm using the latest of everything:
Redis version: Redis server v=2.8.17
libhiredis-dev: 0.11.0-2
pyreBloom: 1.0.2

Python 2.7.5+ (default, Feb 27 2014, 19:37:08)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.

import pyreBloom
bloom_filter = pyreBloom.pyreBloom(u'foo', 10000, 0.0001)
Segmentation fault (core dumped)

No seg fault happens when the key is a byte string.

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