diff options
| author | Daniel Rosenberg <drosen@google.com> | 2017-06-20 17:05:33 -0700 |
|---|---|---|
| committer | Mister Oyster <oysterized@gmail.com> | 2017-06-28 12:07:22 +0200 |
| commit | da2fece941d2269e1892dcba1b153807167b32f2 (patch) | |
| tree | 4347ab0b5cb8c7e4d24aa587419d27198261187a /security | |
| parent | 0d181ba8872d14e1942140055d1816e6b4b94e1b (diff) | |
ANDROID: squashfs: Fix signed division issue
The value here can change depending on the type that PAGE_SIZE
has on a given architecture. To avoid the ensuing signed and
unsigned division conversions, we shift instead using PAGE_SHIFT
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Bug: 35257858
Change-Id: I132cae93abea39390c3f0f91a4b2e026e97ed4c7
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions
