mirror of
https://github.com/systemd/systemd.git
synced 2025-01-23 02:04:32 +03:00
varlink-idl: allow unbalanced quote and trailing backslash in comment
Fixes #33381. Fixes OSS-FUZZ#69730. Follow-up for fbb69c0306d434153ca85b227c7d42b9c92872e4.
This commit is contained in:
parent
fdd4263cac
commit
8f33bfeca1
@ -48,7 +48,7 @@ static int varlink_idl_format_comment(
|
||||
}
|
||||
|
||||
_cleanup_strv_free_ char **l = NULL;
|
||||
r = strv_split_full(&l, text, NEWLINE, 0);
|
||||
r = strv_split_full(&l, text, NEWLINE, EXTRACT_RELAX);
|
||||
if (r < 0)
|
||||
return log_error_errno(r, "Failed to split comment string: %m");
|
||||
|
||||
|
2
test/fuzz/fuzz-varlink-idl/oss-fuzz-69730
Normal file
2
test/fuzz/fuzz-varlink-idl/oss-fuzz-69730
Normal file
@ -0,0 +1,2 @@
|
||||
#\
|
||||
interface.
|
Loading…
x
Reference in New Issue
Block a user