[ovs-git] Open vSwitch: clang: Fix segfault in unit tests. (master)

dev at openvswitch.org dev at openvswitch.org
Mon Jul 22 18:31:08 UTC 2013


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "Open vSwitch".

The branch, master has been updated
       via  55d2690646769467b6d26ad55516ff6eeb12869d (commit)
      from  21a0e105f175926d1d10d324565915ccb96fd28b (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 55d2690646769467b6d26ad55516ff6eeb12869d
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=55d2690646769467b6d26ad55516ff6eeb12869d
Author: Alex Wang <alexw at nicira.com>
		
clang: Fix segfault in unit tests.
		
It seems that 'clang' compiler applies strict protection on pointer
dereference. And it causes unexpected execution in macro functions
like "HMAP_FOR_EACH()" and unit test failures. This commit fixes
this issue and pass all unit tests.

Co-authored-by: Ethan Jackson <ethan at nicira.com>
Signed-off-by: Alex Wang <alexw at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>


-----------------------------------------------------------------------

Summary of changes:
 lib/classifier.h |    4 ++--
 lib/hindex.h     |    6 +++---
 lib/hmap.h       |   10 +++++-----
 lib/sset.h       |    8 +++++---
 4 files changed, 15 insertions(+), 13 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list