summaryrefslogtreecommitdiffstats
path: root/libutils/BlobCache.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix write past end of memory.Christopher Ferris2014-10-071-9/+9
| | | | | | | | The computed flattened size of the blob does not match the size used by the flatten function when the last cached entry size is not 4 byte aligned. Bug: 17873145 Change-Id: I9f9fc102d4bde4681ae977b6de5f263aaaf56708
* BlobCache: fix uninitialized memoryAntoine Labour2014-07-281-1/+8
| | | | | | | | When flattening the BlobCache, we insert padding for alignment. Make sure to zero the padding bytes to have reproducible results. Bug: 16569863 Change-Id: Id39eac5e6a1687459eb6bc2074b1339393fce711
* libutils: turn on -WerrorMark Salyzyn2014-06-021-2/+2
| | | | | | | | | - Deal with some -Wunused issues - Override PRI macros (windows) - Revert use of PRI macros on off64_t (linux) - Deal with a gnu++11 complaince issue Change-Id: Ie66751293bd84477a5a6dfd8a57e700a16e36964
* libutils: BlobCache 64 bit compile issuesMark Salyzyn2014-04-171-13/+14
| | | | Change-Id: I60e9bddfff04f19834b83bdc26a83ca7173363c3
* move libs/utils to libutilsAlex Ray2013-08-021-0/+362
Change-Id: I6cf4268599460791414882f91eeb88a992fbd29d