diff options
author | Justin Hibbits <jhibbits@FreeBSD.org> | 2020-09-25 17:13:45 +0000 |
---|---|---|
committer | Justin Hibbits <jhibbits@FreeBSD.org> | 2020-09-25 17:13:45 +0000 |
commit | 6d5ca5199c509904a202dc2c4f9fba24471d8151 (patch) | |
tree | aea1d51d13964f2fc542afa339b3f64a7f186c41 /usr.sbin/efivar | |
parent | 01d0f9c0e40a44cff5e25842b72075cbaf0864de (diff) | |
download | src-6d5ca5199c509904a202dc2c4f9fba24471d8151.tar.gz src-6d5ca5199c509904a202dc2c4f9fba24471d8151.zip |
Fix compat32 on mips64
Summary:
Two bugs:
* Elf32_Auxinfo is broken, using pointers in the union, which are 64-bits not
32.
* freebsd32_sysarch() doesn't update the 'user local' register when handling
MIPS_SET_TLS, leading to a NULL pointer dereference in the 32-bit
application.
Reviewed by: #mips, brooks
MFC after: 1 week
Sponsored by: Juniper Networks, Inc
Differential Revision: https://reviews.freebsd.org/D26556
Notes
Notes:
svn path=/head/; revision=366162
Diffstat (limited to 'usr.sbin/efivar')
0 files changed, 0 insertions, 0 deletions