ossl_engine_doublefree.patch

Ippei Obayashi, 07/21/2011 02:49 AM

Download (406 Bytes)

View differences:

ext/openssl/ossl_engine.c
115 115

  
116 116
    ary = rb_ary_new();
117 117
    for(e = ENGINE_get_first(); e; e = ENGINE_get_next(e)){
118
        ENGINE_up_ref(e);
118 119
        WrapEngine(klass, obj, e);
119 120
        rb_ary_push(ary, obj);
120 121
    }