[ovs-git] [openvswitch/ovs] 29d2aa: miniflow: Remove unused values_inline branch from ...

GitHub noreply at github.com
Tue Aug 26 16:08:28 UTC 2014


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: 29d2aa3aa74ab97df0f00af5bddaa12485c1d39a
      https://github.com/openvswitch/ovs/commit/29d2aa3aa74ab97df0f00af5bddaa12485c1d39a
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2014-08-26 (Tue, 26 Aug 2014)

  Changed paths:
    M lib/flow.c

  Log Message:
  -----------
  miniflow: Remove unused values_inline branch from miniflow_move()

The branch is unused as size < sizeof dst->inline_values must
always be true for inlined values. Hitting the branch would lead
to corruption as inline_values is accessed out of bounds.

Remove branch and add assertion.

Cc: Jarno Rajahalme <jrajahalme at nicira.com>
Signed-off-by: Thomas Graf <tgraf at noironetworks.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>




More information about the git mailing list