[ovs-git] Open vSwitch: json: Fix parsing of strings that end with a backslash. (branch-1.4)

dev at openvswitch.org dev at openvswitch.org
Wed Jun 25 19:05:10 UTC 2014


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, branch-1.4 has been updated
       via  4813cf352c87193674462382c294c62eac0c17c0 (commit)
      from  36bdfb8305fc16a09e82c46223be297947abc98c (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 4813cf352c87193674462382c294c62eac0c17c0
Diffs: http://openvswitch.org/cgi-bin/gitweb.cgi?p=openvswitch;a=commitdiff;h=4813cf352c87193674462382c294c62eac0c17c0
Author: Ben Pfaff <blp at nicira.com>
		
json: Fix parsing of strings that end with a backslash.
		
json_string_unescape() flagged a backslash at the end of a string as an
error, but of course "\\" is a valid string.  This fixes the problem.

VMware-BZ: #1275208
Reported-by: Michael Hu <mhu at nicira.com>
Signed-off-by: Ben Pfaff <blp at nicira.com>
Acked-by: Alex Wang <alexw at nicira.com>


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

Summary of changes:
 lib/json.c    |   14 +++++++++-----
 tests/json.at |    7 +++++++
 2 files changed, 16 insertions(+), 5 deletions(-)


hooks/post-receive
-- 
Open vSwitch



More information about the git mailing list