[ovs-git] [openvswitch/ovs] be6f4b: Use xmalloc instead of malloc in some Windows code...

GitHub noreply at github.com
Fri May 19 23:24:32 UTC 2017


  Branch: refs/heads/branch-2.5
  Home:   https://github.com/openvswitch/ovs
  Commit: be6f4b6bc0df0f706667f76fe9a1adbb16338e75
      https://github.com/openvswitch/ovs/commit/be6f4b6bc0df0f706667f76fe9a1adbb16338e75
  Author: Shashank Ram <rams at vmware.com>
  Date:   2017-05-19 (Fri, 19 May 2017)

  Changed paths:
    M lib/netdev-windows.c

  Log Message:
  -----------
  Use xmalloc instead of malloc in some Windows code.

xmalloc checks if the size is valid before allocating
memory, and also if the allocation was successful.

Signed-off-by: Shashank Ram <rams at vmware.com>
Signed-off-by: Gurucharan Shetty <guru at ovn.org>




More information about the git mailing list