I just now realized that there is already a ticket
http://rt.openssl.org/Ticket/Display.html?id=1714 for this issue.
It would be helpful to know anything more about this ticket or issue.

Regards,
Keyoor


On Thu, May 5, 2011 at 2:58 PM, Keyoor Khristi <[email protected]>wrote:

> Hi All,
>
> I'm facing a problem of memory leak and the symptoms lead to dtls1_free.
> We are getting many packets which are in next epoch. they get buffered in
> unprocessed records queue in dtls1_buffer_record function. in this function
> the s->s3->rbuf is shallow copied to rdata->rbuf. later s->s3->rbuf is set
> to zero. so, the pointer to the record data is in rdata->rbuf which is an
> item in the queue. The dtls1_free takes out each item from the queue and
> frees the item->data. but the original records are pointed by
> item->data->rbuf structure. these are not getting freed.
> I looked in latest openssl 1.0.0 and the same problem is there too.
> please let me know if it is really a problem in dtls1_free or we're missing
> something.
>
> Regards,
> Keyoor
>
>

Reply via email to