summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2021-07-14 17:04:40 +0000
committercinap_lenrek <cinap_lenrek@felloff.net>2021-07-14 17:04:40 +0000
commit1a46b6c19e0e81cd3125a9e026e6aec76ccb110b (patch)
treec4331af7c24a8fc15bf2d456d80df9a01da991aa /lib
parent6560e7c6fd26dc99604beba0f45292f592155aeb (diff)
downloadplan9front-1a46b6c19e0e81cd3125a9e026e6aec76ccb110b.tar.xz
libaml: fix gc bug, need to amltake()/amldrop() temporary buffer
we have to protect the temporary buffer allocated by rwfield() as rwreg() calls amlmapio() which might cause further aml code execution causing gc() which frees it under us (as it is not referenced from the interpreter state). this fixes a panic on boot of a Lenovo Thinkpad P17 Gen1 Professional Mobile Workstation
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions