[ovs-git] Open vSwitch: ofp-print: Avoid returning static data. (master)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 12 21:50:18 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  8961699e0310fd2b77035dc7bff63eb9538daf67 (commit)
      from  33bf917607fcdba606ac6bd895e746c6f2fb90c8 (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 8961699e0310fd2b77035dc7bff63eb9538daf67
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=8961699e0310fd2b77035dc7bff63eb9538daf67
Author: Ben Pfaff <blp at nicira.com>
		
ofp-print: Avoid returning static data.
		
Returning a static data buffer makes code more brittle and definitely
not thread-safe, so this commit switches to using a caller-provided
buffer instead.

Signed-off-by: Ben Pfaff <blp at nicira.com>


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

Summary of changes:
 lib/ofp-print.c |   50 +++++++++++++++++++++++++++++++++++---------------
 1 file changed, 35 insertions(+), 15 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list