diff options
| author | Vincent Rischmann <vincent@rischmann.fr> | 2020-12-28 17:53:52 +0100 |
|---|---|---|
| committer | Vincent Rischmann <vincent@rischmann.fr> | 2020-12-28 18:14:27 +0100 |
| commit | 9c53564af1e00486218a5d345744273ad242ea33 (patch) | |
| tree | da14d1aad54e50d9b3661a1b282f6fd4d82dc847 /src/codegen.zig | |
| parent | 399c428cb0dfa45fe840315a04526d3794622662 (diff) | |
| download | zig-9c53564af1e00486218a5d345744273ad242ea33.tar.gz zig-9c53564af1e00486218a5d345744273ad242ea33.zip | |
fs: fix segfault in Walker.next
`top` might point to invalid memory after a call to self.stack.append
which causes a segfault.
Prevent this by recomputing `top`.
Fixes #7560
Diffstat (limited to 'src/codegen.zig')
0 files changed, 0 insertions, 0 deletions
