Rw/4.4/mlc#2
Open
richardweinberger wants to merge 6 commits intobbrezillon:bb/4.4/mlcfrom
Open
Conversation
Signed-off-by: Richard Weinberger <richard@nod.at>
It can happen that a volume vanishes under us. Signed-off-by: Richard Weinberger <richard@nod.at>
If we call ubi_wl_get_peb with work sem help and no PEB are available we have to give up. Before this change we called find_mean_wl_entry() with an empty ubi->free rb tree and faced protection fault or corrupted memory. Signed-off-by: Richard Weinberger <richard@nod.at>
If one calles it with an empty ubi->free rb tree, yell. Signed-off-by: Richard Weinberger <richard@nod.at>
Another location where the volume can be gone... Signed-off-by: Richard Weinberger <richard@nod.at>
...how can it happen that clebs[0] and clebs[1] contain the same LEB? Signed-off-by: Richard Weinberger <richard@nod.at>
dde061d to
3dcae49
Compare
bbrezillon
pushed a commit
that referenced
this pull request
Apr 20, 2016
fix the raw_buffer pointer double free issue found by coverify. CID 18344 (#2 of 2): Double free (USE_AFTER_FREE) 3. double_free: Calling gpmi_alloc_dma_buffer frees pointer this->raw_buffer which has already been freed Signed-off-by: Han Xu <han.xu@nxp.com> Reviewed-by: Richard Weinberger <richard@nod.at> Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
My first pull request using github... :D