diff options
author | Jo-Philipp Wich <jo@mein.io> | 2020-10-18 17:33:38 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2020-10-18 17:33:38 +0200 |
commit | 279d0b5d27f406bb60cb7e9ea2222a3c83eb7980 (patch) | |
tree | 9c93ac215f809aba571277563634763a691730e8 /module.h | |
parent | 6bbc6137d2bc0ec79e740ea50e6edee0496bcf85 (diff) |
lib: properly handle parse errors at EOF
At EOF, ut_parse_error() will receive 0 as token offset, which led to a
null pointer dereference when creating the exception value.
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'module.h')
0 files changed, 0 insertions, 0 deletions