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

mem leak in do_search - rawbase not freed upon certain errors #1106

Closed
389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Closed

mem leak in do_search - rawbase not freed upon certain errors #1106

389-ds-bot opened this issue Sep 12, 2020 · 3 comments
Labels
closed: fixed Migration flag - Issue
Milestone

Comments

@389-ds-bot
Copy link

Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/47774


If there is some sort of error in do_search - decoding or protocol errors - after the rawbase variable is allocated but before it is assigned to SLAPI_ORIGINAL_TARGET_DN in pb, the cleanup code will get the NULL variable from the pb and free it, leaking rawbase.

@389-ds-bot 389-ds-bot added the closed: fixed Migration flag - Issue label Sep 12, 2020
@389-ds-bot 389-ds-bot added this to the 1.2.11.30 milestone Sep 12, 2020
@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2014-04-10 01:24:40

0001-Ticket-47774-mem-leak-in-do_search-rawbase-not-freed.patch
0001-Ticket-47774-mem-leak-in-do_search-rawbase-not-freed.patch

@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2014-04-10 03:06:31

To ssh://git.fedorahosted.org/git/389/ds.git
c5f22dd..9f174da 389-ds-base-1.2.11 -> 389-ds-base-1.2.11
commit 9426e07
Author: Rich Megginson richm@redhat.com
Date: Wed Apr 9 13:24:26 2014 -0600
b8297ad..1a39cf3 389-ds-base-1.3.0 -> 389-ds-base-1.3.0
commit 33bf4d42727804f5c10ce30834a2340c99cad459
Author: Rich Megginson richm@redhat.com
Date: Wed Apr 9 13:24:26 2014 -0600
44ecbbe..60c36f1 389-ds-base-1.3.1 -> 389-ds-base-1.3.1
commit 97f58ff4787ecb87780fde7245e354ec75e73125
Author: Rich Megginson richm@redhat.com
Date: Wed Apr 9 13:24:26 2014 -0600
48844b2..469c9b9 389-ds-base-1.3.2 -> 389-ds-base-1.3.2
commit b065515
Author: Rich Megginson richm@redhat.com
Date: Wed Apr 9 13:24:26 2014 -0600
844d09d..f573012 master -> master
commit 1d5c6d6
Author: Rich Megginson richm@redhat.com
Date: Wed Apr 9 13:24:26 2014 -0600

@389-ds-bot
Copy link
Author

Comment from rmeggins (@richm) at 2017-02-11 22:58:37

Metadata Update from @richm:

  • Issue assigned to richm
  • Issue set to the milestone: 1.2.11.30

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
closed: fixed Migration flag - Issue
Projects
None yet
Development

No branches or pull requests

1 participant