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

GitHub noreply at github.com
Fri May 19 22:20:30 UTC 2017

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

  Changed paths:
    M lib/netdev-windows.c
    M lib/wmi.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