summaryrefslogtreecommitdiffstats
path: root/minzip/SysUtil.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix integer overflows in recovery procedure.Yabin Cui2016-02-231-15/+54
| | | | | | Bug: 26960931 Change-Id: Ieae45caccfb4728fcf514f0d920976585d8e6caf (cherry picked from commit 4f2df162c6ab4a71ca86e4b38735b681729c353b)
* minzip: 64 bit build issueMark Salyzyn2014-03-181-1/+1
| | | | | | | Regression - verification and extraction on memory, not files Bug: 12188746 Change-Id: Ib6facc4aff6be3a31a7d184ef1c493fdd4012c21
* log extra info for debuggingDoug Zongker2014-01-211-0/+2
| | | | | | | Make recovery log its PID, and when we use a block map file, log how many ranges it contains. Change-Id: I1b4299f8163af68a770b48c029ae25e6cb45d26b
* do verification and extraction on memory, not filesDoug Zongker2014-01-161-18/+134
| | | | | | | | | | | | | | | | Changes minzip and recovery's file signature verification to work on memory regions, rather than files. For packages which are regular files, install.cpp now mmap()s them into memory and then passes the mapped memory to the verifier and to the minzip library. Support for files which are raw block maps (which will be used when we have packages written to encrypted data partitions) is present but largely untested so far. Bug: 12188746 Change-Id: I12cc3e809834745a489dd9d4ceb558cbccdc3f71
* remove dead code from minzipDoug Zongker2014-01-131-117/+0
| | | | | | | | minzip had some features that were used when reading APKs, but APK handling now uses libziparchive instead of minzip. Remove these unused functions. Change-Id: Iead89209a716bfe9e3d339bf85b3e97e33a41f35
* Pass the correct pointer to munmap on failure.Elliott Hughes2012-12-171-4/+4
| | | | | | | This won't ever happen, and you're probably screwed anyway if it does, but that's no excuse... Change-Id: I2c56f607e351e84308a72b41b834d13aaa98fc62
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-0/+212
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-041-212/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+212