]> git.lizzy.rs Git - plan9front.git/commit
libsunrpc: work around arm64 compiler bug in sunStringUnpack()
authorcinap_lenrek <cinap_lenrek@felloff.net>
Mon, 29 Mar 2021 15:13:50 +0000 (17:13 +0200)
committercinap_lenrek <cinap_lenrek@felloff.net>
Mon, 29 Mar 2021 15:13:50 +0000 (17:13 +0200)
commit4a83ce37c649dbcfb5a87c022aad626226904363
tree5dc21903c3218cb0755ff837127313c53157fa89
parent9e1d26893f8a92c32f3486883c46e8cdfff03e98
libsunrpc: work around arm64 compiler bug in sunStringUnpack()

The sunStringUnpack() routine was miscompiled by 7c, as
pointer arithmetic is done in 64 bit but the constant -1
offset got expended to a unsigned 32 bit integer.
sys/src/libsunrpc/rpc.c