diff options
author | Jo-Philipp Wich <jo@mein.io> | 2021-03-11 20:03:31 +0100 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2021-03-11 20:03:31 +0100 |
commit | f2b6b24975a3e8ad7e8bfb16d2449ba8e3d2536a (patch) | |
tree | 7dd9f61f220c73d2027008fd753632fb2354909d /compiler.h | |
parent | 98f06f4e475bc1ec4969ae9e770426b045743f14 (diff) |
lexer: fix infinite loop in lineinfo encoding when consuming large chunks
A logic flaw in the lineinfo encoding function led to an infinite tight
loop when a buffer chunk with 128 byte or more got consumed, which may
happen when parsing very long literals.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'compiler.h')
0 files changed, 0 insertions, 0 deletions