commit | 704cd56de3ac18ba1f76cf474f531465527b612a | [log] [tgz] |
---|---|---|
author | Channagoud Kadabi <ckadabi@codeaurora.org> | Thu Apr 25 15:19:59 2013 -0700 |
committer | Channagoud Kadabi <ckadabi@codeaurora.org> | Tue May 07 14:53:56 2013 -0700 |
tree | 3618b4031dda4900f63fbbecc6b697c837862875 | |
parent | 7b4e1f5a4114be16b3b848c69f90a7e77e3137cc [diff] |
platform: msm_shared: Validate DTB offset before accessing. If the kernel image does not have appended DTB, the DTB byte offset in the kernel image will contain some random address 'A'. The current implementation does not validate 'A' & assumes its the address of appended DTB. Accessing such address cause data abort. To avoid such issues check if the DTB address read from DTB offset is correct. CRs-Fixed: 480291 Change-Id: I1ec97a2e3ae1458ade5e16b6bc4af3b82dc2158c