network: fix double free in macsec_receive_channel_free()

Fixes #15941.
Fixes https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=22547
This commit is contained in:
Yu Watanabe
2020-05-29 16:56:09 +09:00
committed by Zbigniew Jędrzejewski-Szmek
parent b9d19abd38
commit 0e77fc66bc
2 changed files with 11 additions and 1 deletions

View File

@@ -0,0 +1,10 @@
[NetDev]
Name=o
Kind=macsec
[MACsecReceiveChannel]
MACAddress=12.0.4
Port=913
[MACsecReceiveChannel]
MACAddress=12.0.4
Port=913