lima-vm / socket_vmnet

vmnet.framework support for unmodified rootless QEMU (no dependency on VDE)
Apache License 2.0
93 stars 15 forks source link

Fix segv when removing the last socket entry. #24

Closed vaikas closed 1 year ago

vaikas commented 1 year ago

Fix the case of removing the last socket. Previous patch missed this case.

We've fixed the pointers, so just break out of the loop.

Signed-off-by: Ville Aikas vaikas@chainguard.dev