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)
commit06dbe50a1a138d3cde72f44036e691eb2676718d
treefbfbb60b613c628b938d6e20c2895178b72f9cc7
parente739a5257d7c02b987d9b16046407797f83d1a7d
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