shared/conf-parser: fix crash when specifiers cannot be resolved in config_parse_device_allow()

oss-fuzz #6885.
This commit is contained in:
Zbigniew Jędrzejewski-Szmek
2018-03-14 16:50:08 +01:00
parent 0d032da993
commit 20d52ab60e
4 changed files with 6 additions and 1 deletions
@@ -0,0 +1,3 @@
service
[Service]
DeviceAllow=%D
+1
View File
@@ -30,4 +30,5 @@ fuzz_regression_tests = '''
fuzz-dns-packet/oss-fuzz-5465
fuzz-dns-packet/issue-7888
fuzz-unit-file/oss-fuzz-6884
fuzz-unit-file/oss-fuzz-6885
'''.split()