mirror of
https://github.com/mmueller41/genode.git
synced 2026-01-21 12:32:56 +01:00
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
This commit is contained in:
1
repos/base/recipes/pkg/test-token/hash
Normal file
1
repos/base/recipes/pkg/test-token/hash
Normal file
@@ -0,0 +1 @@
|
||||
2020-04-23 42b5b14a84c37b36077cd9c304057c7e3d18163e
|
||||
Reference in New Issue
Block a user