diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-10 07:26:23 +0200 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2019-04-10 11:18:11 +0200 |
commit | 86a3d44de5326fd4d714e90bf9012360f1d028a2 (patch) | |
tree | 7e918bce6da1293f990858f0720916022e50db34 /test/fuzz/fuzz-netdev-parser | |
parent | Update UEFI URLs (#12260) (diff) | |
download | systemd-86a3d44de5326fd4d714e90bf9012360f1d028a2.tar.xz systemd-86a3d44de5326fd4d714e90bf9012360f1d028a2.zip |
network: fix use-of-uninitialized-value or null dereference
This fixes a bug introduced by 6ef5c881dd5568f08dc35013e24f7d857f36b207.
Fixes oss-fuzz#14157 and oss-fuzz#14158.
Diffstat (limited to '')
-rw-r--r-- | test/fuzz/fuzz-netdev-parser/oss-fuzz-14157 | 5 | ||||
-rw-r--r-- | test/fuzz/fuzz-netdev-parser/oss-fuzz-14158 | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/test/fuzz/fuzz-netdev-parser/oss-fuzz-14157 b/test/fuzz/fuzz-netdev-parser/oss-fuzz-14157 new file mode 100644 index 0000000000..d3a65e1fed --- /dev/null +++ b/test/fuzz/fuzz-netdev-parser/oss-fuzz-14157 @@ -0,0 +1,5 @@ +[NetDev] +Name=w +Kind=wireguard +[WireGuardPeer] +PublicKey=e
\ No newline at end of file diff --git a/test/fuzz/fuzz-netdev-parser/oss-fuzz-14158 b/test/fuzz/fuzz-netdev-parser/oss-fuzz-14158 new file mode 100644 index 0000000000..6f6bf723b4 --- /dev/null +++ b/test/fuzz/fuzz-netdev-parser/oss-fuzz-14158 @@ -0,0 +1,5 @@ +[NetDev] +Name=w +Kind=wireguard +[WireGuard] +PrivateKey=E
\ No newline at end of file |