[vbox-dev] NAT Networking - memory leak if not privileged

Sylvia Else sylviaw79 at cryogenic.net
Wed Mar 14 08:17:51 GMT 2018


Slight nuisance when testing and the socket for the ICMP packets could not 
be opened.

--- 
./VirtualBox-5.2.8/src/VBox/Devices/Network/lwip-new/src/core/ipv4/icmp.c 
2018-02-27 03:02:06.000000000 +1100
+++ 
.././VirtualBox-5.2.8/src/VBox/Devices/Network/lwip-new/src/core/ipv4/icmp.c 
2018-03-14 18:36:10.737675842 +1100
@@ -327,6 +327,8 @@

      if (ping_proxy_accept_callback != NULL) {
        (*ping_proxy_accept_callback)(ping_proxy_accept_arg, p);
+    } else {
+       pbuf_free(p);
      }
      break;




More information about the vbox-dev mailing list