commit | da44fe0e1f7c177cd65b7c5c80b35ec8fb3bc1c2 | [log] [tgz] |
---|---|---|
author | Jörgen Ekström <jorgen.ekstrom@sonyericsson.com> | Thu Mar 24 15:09:42 2011 +0100 |
committer | Johan Redestig <johan.redestig@sonymobile.com> | Fri Nov 07 13:41:06 2014 +0000 |
tree | 125b68da3d72e46b95323493d0fbebfe39dd36b7 | |
parent | 59701b9ba5c453e327bc0e6873a9f6ff87a10391 [diff] |
Fixing NULL pointer access causing segmentation fault in aapt In cases where resource packages are generated which does not have public resources for all resource types - NULL pointers sneaks into the mOrderedConfigs vector causing the aapt tool to crash. The solution in this fix simply ignores the NULL elements when later processing the sorted vector. The NULL elements are inserted during applyPublicEntryOrder function call Change-Id: I8b7135932e2d235018da2e2f7e09f0d22f1b2f59