ABY
ABY copied to clipboard
There exists memory leakages.
- In the file
ABY/src/examples/psi_scs/common/WaksmanPermutation.cpp
,~WaksmanPermutation()
is not finished. - In the file
ABY/src/examples/psi_scs/common/WaksmanPermutation.h
, line 93,wm = new WaksmanPermutation(size, this);
, this object is not deleted in the destructor. - In the file
ABY/src/abycore/sharing/yaoserversharing.cpp
, line 98,buf = (BYTE*) malloc(univ_size);
, thisbuf
is not deleted. - In the file
ABY/src/abycore/sharing/yaoserversharing.cpp
, line 1025 & 1026,gate->gs.yinput.outKey = (BYTE*) malloc(sizeof(UGATE_T) * m_nSecParamIters * gate->nvals); gate->gs.yinput.pi = (BYTE*) malloc(sizeof(BYTE) * gate->nvals);
, these two malloc do not free. - In the file
ABY/src/abycore/sharing/yaoclientsharing.cpp
, line 88,buf = (BYTE*) malloc(univ_size);
, it is the same issue with 3.