Norman Feske 48b2456845 util/token.h: fix possible out-of-bounds read
The 'WHITESPACE' case of the _calc_len method wrongly accessed the
character before checking upper bound of the token. The problem is fixed
by switching the order of both conditions.

Fixes #3756
2020-05-18 10:16:12 +02:00

2 lines
52 B
Plaintext

2020-04-23 42b5b14a84c37b36077cd9c304057c7e3d18163e