• A
    BITOP: handle integer encoded objects correctly. · fa4a5d59
    antirez 提交于
    A bug in the implementation caused BITOP to crash the server if at least
    one one of the source objects was integer encoded.
    
    The new implementation takes an additional array of Redis objects
    pointers and calls getDecodedObject() to get a reference to a string
    encoded object, and then uses decrRefCount() to release the object.
    
    Tests modified to cover the regression and improve coverage.
    fa4a5d59
bitops.c 10.5 KB