libcomps icon indicating copy to clipboard operation
libcomps copied to clipboard

COMPS_OBJECT_DESTROY called on wrong address

Open ret2libc opened this issue 5 years ago • 1 comments

There are some places in comps_objmradix.c where COMPS_OBJECT_DESTROY is called on the wrong address, resulting in memory leaks (in these particular cases)

https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L134 https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L188 https://github.com/rpm-software-management/libcomps/blob/2ed0fe52d1e7c062a5a42968bb7a7680835914b8/libcomps/src/comps_objmradix.c#L242

ret2libc avatar Jan 21 '19 16:01 ret2libc