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
free target entry when add operation fails #1615
Comments
Comment from nhosoi (@nhosoi) at 2015-09-22 23:21:09 Looks good to me. One small request. Might be a bit too paranoiac, but could you add something like "slapi_pblock_set(pb, SLAPI_ADD_ENTRY, NULL)" at the line 323 to make sure the entry never be available? Thanks!!
|
Comment from mreynolds (@mreynolds389) at 2015-09-22 23:41:42 revision |
Comment from mreynolds (@mreynolds389) at 2015-09-22 23:41:59 Replying to [comment:2 nhosoi]:
New patch attached... |
Comment from nhosoi (@nhosoi) at 2015-09-22 23:51:25 Thank you, Mark!! Since this ticket is related to 48266, we should push this fix to 1.2.11.x, as well? |
Comment from mreynolds (@mreynolds389) at 2015-09-22 23:56:11 5538bac..622be8b master -> master 1c127b4..99dbfb7 389-ds-base-1.3.4 -> 389-ds-base-1.3.4 c28b52f..61f3a05 389-ds-base-1.3.3 -> 389-ds-base-1.3.3 318f897..8449e3b 389-ds-base-1.3.2 -> 389-ds-base-1.3.2 e861b06..4eb33f3 389-ds-base-1.3.1 -> 389-ds-base-1.3.1 3896e68..82b4347 389-ds-base-1.2.11 -> 389-ds-base-1.2.11 |
Comment from mreynolds (@mreynolds389) at 2015-09-22 23:56:44 Replying to [comment:5 nhosoi]:
Yeah it needs to be in 1.2.11 for 48266 (sorry already pushed it) |
Comment from mreynolds (@mreynolds389) at 2017-02-11 23:09:33 Metadata Update from @mreynolds389:
|
Cloned from Pagure issue: https://pagure.io/389-ds-base/issue/48284
There are cases where the target entry for ADD is not freed when certain internal errors occur. The entry is supposed to be consumed, so it should always be freed before returning to the caller.
The text was updated successfully, but these errors were encountered: