commit | 3439f41abffaa117469f9fe4023d65fc1b6d01e4 | [log] [tgz] |
---|---|---|
author | Andres Morales <anmorales@google.com> | Thu Jul 09 16:01:24 2015 -0700 |
committer | Andres Morales <anmorales@google.com> | Thu Jul 09 23:26:44 2015 +0000 |
tree | 68599a3e707fae9f9a147ab7e89cf1cf713adcc5 | |
parent | bf94f03d0fda3361866640ec5550250954da0561 [diff] |
[gatekeeperd] copy uid to local before passing to u_map The compiler will issue the unaligned access instuctions when reading from a packed struct. Since 'find' takes a reference, if we pass the field directly it is removed from its packed context and may be unreadable. Read the field out directly from the packed struct and pass in aligned to u_map to fix. Bug: 22367550 Change-Id: Ia3b639c7518154ff5a2b7c233b752e154eab9aad