summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAustin Clements <austin@google.com>2014-10-27 17:12:48 -0400
committerAustin Clements <austin@google.com>2014-10-27 17:12:48 -0400
commite7797eae182f602d8d08d936f74257a93484d5fd (patch)
treef107f84fe39f9d479e7b2345fa405490e655c3f5 /doc
parent71b84afc8f2118f7d8d5ed4293a7e35f4b1cb511 (diff)
downloadgo-e7797eae182f602d8d08d936f74257a93484d5fd.tar.gz
runtime: fix endianness assumption when decoding ftab
The ftab ends with a half functab record consisting only of the 'entry' field followed by a uint32 giving the offset of the next table. Previously, symtabinit assumed it could read this uint32 as a uintptr. Since this is unsafe on big endian, explicitly read the offset as a uint32. LGTM=rsc R=rsc CC=golang-codereviews https://codereview.appspot.com/157660043
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions