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

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


  Branch: refs/heads/branch-2.7
  Home:   https://github.com/openvswitch/ovs
  Commit: 86526a949b0b0fad1a6eddcc78ba20f7d296f629
      https://github.com/openvswitch/ovs/commit/86526a949b0b0fad1a6eddcc78ba20f7d296f629
  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