Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | imgdiff: Fix an edge case that leads to infinite loop. | Tao Bao | 2016-12-28 | 1 | -0/+80 |
| | | | | | | | | | When the input image ends with the magic value sequence of 0x1f, 0x8b, 0x0b (optionally with 0x00), the image parsing code will be stuck in an infinite loop. Test: recovery_component_test passes. Change-Id: Ie3629dfdc41360387b19cc3e0359c95ae4fb998e | ||||
* | Add tests for imgdiff. | Tao Bao | 2016-12-20 | 1 | -0/+448 |
Factor out libimgdiff static library for testing purpose. This CL adds the imgdiff tests on host and on target both (similar to libimgpatch). In practice, we only need imgdiff binary on host, and libimgpatch on target. But they should build and pass tests on both platforms. Test: recovery_host_test passes; recovery_component_test passes. Change-Id: I0eafb7faf727cdf70066310e845af6ee245d4f60 |