[ovs-git] [openvswitch/ovs] 2fe70d: ovsdb: Fix error leak for negative timeout and inv...

GitHub noreply at github.com
Thu Aug 28 15:40:26 UTC 2014


  Branch: refs/heads/branch-2.3
  Home:   https://github.com/openvswitch/ovs
  Commit: 2fe70dd8a8106a992afeb9f94865b66b8cf54975
      https://github.com/openvswitch/ovs/commit/2fe70dd8a8106a992afeb9f94865b66b8cf54975
  Author: Thomas Graf <tgraf at noironetworks.com>
  Date:   2014-08-28 (Thu, 28 Aug 2014)

  Changed paths:
    M ovsdb/execution.c

  Log Message:
  -----------
  ovsdb: Fix error leak for negative timeout and invalid until case

Although the check for negative timeout is present, the error string
is overwritten if an invalid "until" is found right after. This leaks
an error string and results in not reporting the negative timeout back
to the user even though it is encountered first.

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