Memory leak in libcrypto.0.9.7l during dlopen - Openssl

This is a discussion on Memory leak in libcrypto.0.9.7l during dlopen - Openssl ; Hi, I see a memory leak while doing a dlopen on libcrypto.0.9.7l . Is this issue fixed and if so can anyone help me with the patch? Output from valgrind: ==9454== 4 bytes in 1 blocks are definitely lost in ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: Memory leak in libcrypto.0.9.7l during dlopen

  1. Memory leak in libcrypto.0.9.7l during dlopen


    Hi,

    I see a memory leak while doing a dlopen on libcrypto.0.9.7l . Is
    this issue fixed and if so can anyone help me with the patch?

    Output from valgrind:

    ==9454== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1
    ==9454== at 0x401A6CE: malloc (vg_replace_malloc.c:149)
    ==9454== by 0x4005739: (within /lib/ld-2.3.2.so)
    ==9454== by 0x400673F: _dl_map_object (in /lib/ld-2.3.2.so)
    ==9454== by 0x41395C6: (within /lib/libc-2.3.2.so)
    ==9454== by 0x400C625: _dl_catch_error (in /lib/ld-2.3.2.so)
    ==9454== by 0x4139C4B: _dl_open (in /lib/libc-2.3.2.so)
    ==9454== by 0x401FEE7: (within /lib/libdl-2.3.2.so)
    ==9454== by 0x400C625: _dl_catch_error (in /lib/ld-2.3.2.so)
    ==9454== by 0x40202D5: (within /lib/libdl-2.3.2.so)
    ==9454== by 0x401FF33: dlopen (in /lib/libdl-2.3.2.so)
    ==9454== by 0x804876E: main (dlopen.c:8) //Test program
    ==9454==



    Thanks
    Reji Thomas

  2. Re: Memory leak in libcrypto.0.9.7l during dlopen

    On Mar 12, 4:34 pm, rejithoma...@gmail.com wrote:
    > Hi,
    >
    > I see a memory leak while doing a dlopen on libcrypto.0.9.7l . Is
    > this issue fixed and if so can anyone help me with the patch?
    >
    > Output from valgrind:
    >
    > ==9454== 4 bytes in 1 blocks are definitely lost in loss record 1 of 1
    > ==9454== at 0x401A6CE: malloc (vg_replace_malloc.c:149)
    > ==9454== by 0x4005739: (within /lib/ld-2.3.2.so)
    > ==9454== by 0x400673F: _dl_map_object (in /lib/ld-2.3.2.so)
    > ==9454== by 0x41395C6: (within /lib/libc-2.3.2.so)
    > ==9454== by 0x400C625: _dl_catch_error (in /lib/ld-2.3.2.so)
    > ==9454== by 0x4139C4B: _dl_open (in /lib/libc-2.3.2.so)
    > ==9454== by 0x401FEE7: (within /lib/libdl-2.3.2.so)
    > ==9454== by 0x400C625: _dl_catch_error (in /lib/ld-2.3.2.so)
    > ==9454== by 0x40202D5: (within /lib/libdl-2.3.2.so)
    > ==9454== by 0x401FF33: dlopen (in /lib/libdl-2.3.2.so)
    > ==9454== by 0x804876E: main (dlopen.c:8) //Test program
    > ==9454==
    >
    > Thanks
    > Reji Thomas


    Hi,


    Can anyone give me pointers as to where (source code ) the libcrypto
    library initialization is done (_init() /.init section) .

    Thanks
    Reji Thomas


+ Reply to Thread