OSDN Git Service

Initialized check in ZipFileRO::findEntryByName
authorKenny Root <kroot@google.com>
Thu, 21 Oct 2010 22:18:28 +0000 (15:18 -0700)
committerKenny Root <kroot@google.com>
Thu, 21 Oct 2010 22:25:12 +0000 (15:25 -0700)
commit0b224238781fdd6d11f76a30376bc1556e1d217a
treef5cb7107a1028d8902fe163ab706b8de02f570fa
parent703aae06c0925b19657877bb1872bb2f28874969
Initialized check in ZipFileRO::findEntryByName

If a ZipFileRO object is uninitialized, the hash table will not have
been initialized. This condition wasn't checked in findEntryByName.

Bug: 3121109
Change-Id: Ib696e0e7e0cb4dd0fb2e456d6a847e5e8f4fe14e
libs/utils/ZipFileRO.cpp