commit | 74db84e026208670510b6bbef42a08331b0e8439 | [log] [tgz] |
---|---|---|
author | Ethan Yonker <dees_troy@teamw.in> | Mon Jun 01 09:55:00 2015 -0500 |
committer | Ethan Yonker <dees_troy@teamw.in> | Mon Jun 01 09:55:04 2015 -0500 |
tree | 99dfa033cbbe3a4bc7a1ebb91e966d0b119bba28 | |
parent | 5267a21667ab6117cdbb26d054c774b33ab3bb1f [diff] |
Fix double free crash during encrypted backups Calling flush_libtar_buffer would inadvertantly set buffer_status when no buffer is currently allocated. Later when we called free_libtar_buffer, this would attempt to free the write_buffer and cause a crash. This patch checks the value of buffer_status in flush_libtar_buffer to prevent us from freeing the buffer when it is not necessary. Change-Id: Ic5b462fe5881be6e9c6fcc355b369bc90477f737
Team Win Recovery Project (TWRP)
The goal of this branch is to rebase TWRP onto AOSP while maintaining as much of the original AOSP code as possible. This goal should allow us to apply updates to the AOSP code going forward with little to no extra work. With this goal in mind, we will carefully consider any changes needed to the AOSP code before allowing them. In most cases, instead of changing the AOSP code, we'll create our own functions instead. The only changes that should be made to AOSP code should be those affecting startup of the recovery and some of the make files.
If there are changes that need to be merged from AOSP, we will pull the change directly from AOSP instead of creating a new patch in order to prevent merge conflicts with AOSP.
This branch is under final testing and will be used shortly for public builds, but has not officially been released.
You can find a compiling guide here.
More information about the project.
If you have code changes to submit those should be pushed to our gerrit instance. A guide can be found here.