about summary refs log tree commit diff stats
path: root/subx/058stream-equal.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-05-14 21:07:22 -0700
committerKartik Agaram <vc@akkartik.com>2019-05-14 21:07:22 -0700
commit2f49a27504fe302c1df8e55f7a1b63571495182c (patch)
tree27797c0c8951cf0699974cfa45a70bb6a93c7d4d /subx/058stream-equal.subx
parent56a0f3c560b9763c1aafdf7898d134b57277ff5e (diff)
downloadmu-2f49a27504fe302c1df8e55f7a1b63571495182c.tar.gz
fix a stale register value in dquotes.subx
How did things seem to be working until now?
- We were saving an address from the stack to stream.read
- When we read this address in skip-chars-matching:loop, we used to stop early

But now we've moved the stack to a larger address, one where the most significant
byte is set. When the stack address now gets to skip-chars-matching:loop,
it's treated as a negative number and we proceed through the loop. At which
point we try to index into the array using it.

No real test to be written to protect against this :(
Diffstat (limited to 'subx/058stream-equal.subx')
0 files changed, 0 insertions, 0 deletions