aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
authorIain Buclaw <ibuclaw@gdcproject.org>2021-04-20 02:09:51 +0200
committerIain Buclaw <ibuclaw@gdcproject.org>2021-04-20 02:28:12 +0200
commit30b11d8d1be9c683f1517472c47a3cb69df02c4f (patch)
treea81c8b8f62284a5e719aced71b91c904714054fd /README
parent6e81e015d91568fc3df3939623ae999e0681a0fc (diff)
downloadgcc-30b11d8d1be9c683f1517472c47a3cb69df02c4f.zip
gcc-30b11d8d1be9c683f1517472c47a3cb69df02c4f.tar.gz
gcc-30b11d8d1be9c683f1517472c47a3cb69df02c4f.tar.bz2
libphobos: Fix SIGBUS in read_encoded_value_with_base on sparc-sun-solaris (PR98584)
Instead of unsafe pointer dereferencing, use memcpy() to read encoded values from memory. The function `read_encoded_value' has been updated to accept a ref parameter, this simplifies handling of the pointer to memory needing to be read. libphobos/ChangeLog: PR d/98584 * libdruntime/gcc/deh.d (scanLSDA): Update calls to read_uleb128 and read_encoded_value. (actionTableLookup): Update calls to read_sleb128 and read_encoded_value_with_base. * libdruntime/gcc/unwind/pe.d (read_uleb128): Update signature. (read_sleb128): Update signature. (read_unaligned): New function. (read_encoded_value_with_base): Update signature. Call read_unaligned instead of unsafe pointer dereferencing. (read_encoded_value): Update signature.
Diffstat (limited to 'README')
0 files changed, 0 insertions, 0 deletions