Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There exists memory leakages. #185

Open
prncoprs opened this issue Jan 12, 2022 · 0 comments
Open

There exists memory leakages. #185

prncoprs opened this issue Jan 12, 2022 · 0 comments

Comments

@prncoprs
Copy link

  1. In the file ABY/src/examples/psi_scs/common/WaksmanPermutation.cpp, ~WaksmanPermutation() is not finished.
  2. 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.
  3. In the file ABY/src/abycore/sharing/yaoserversharing.cpp, line 98, buf = (BYTE*) malloc(univ_size);, this buf is not deleted.
  4. 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.
  5. In the file ABY/src/abycore/sharing/yaoclientsharing.cpp, line 88, buf = (BYTE*) malloc(univ_size);, it is the same issue with 3.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant