diff options
| author | Dave Martin <Dave.Martin@arm.com> | 2017-01-18 16:25:23 +0000 |
|---|---|---|
| committer | Moyster <oysterized@gmail.com> | 2017-06-17 15:50:30 +0200 |
| commit | efb1336ffc08ed4564cedc6f3bcc5310fd781bdb (patch) | |
| tree | a137e7a1da11cd7de6acd7b7afb7716b1e575004 /lib | |
| parent | 50faf79e8c5ca33dc4f9c958dc24fdd4d0651763 (diff) | |
arm64/ptrace: Avoid uninitialised struct padding in fpr_set()
commit aeb1f39d814b2e21e5e5706a48834bfd553d0059 upstream.
This patch adds an explicit __reserved[] field to user_fpsimd_state
to replace what was previously unnamed padding.
This ensures that data in this region are propagated across
assignment rather than being left possibly uninitialised at the
destination.
Fixes: 60ffc30d5652 ("arm64: Exception handling")
Signed-off-by: Dave Martin <Dave.Martin@arm.com>
Acked-by: Will Deacon <Will.Deacon@arm.com>
Signed-off-by: Catalin Marinas <catalin.marinas@arm.com>
Signed-off-by: Willy Tarreau <w@1wt.eu>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions
