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

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


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