Re: [ovs-dev] [PATCH] json: Fix parsing of strings that end with a backslash.

2014-06-25 Thread Ben Pfaff
Thanks for the review. I applied this to master, branch-2.{0,1,2,3}, and branch-1.{4,9,11}. On Wed, Jun 25, 2014 at 11:05:56AM -0700, Alex Wang wrote: > Looks good to me, > > Acked-by: Alex Wang > > Thx, > > > On Tue, Jun 24, 2014 at 5:06 PM, Ben Pfaff wrote: > > > json_string_unescape() f

Re: [ovs-dev] [PATCH] json: Fix parsing of strings that end with a backslash.

2014-06-25 Thread Alex Wang
Looks good to me, Acked-by: Alex Wang Thx, On Tue, Jun 24, 2014 at 5:06 PM, Ben Pfaff wrote: > 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 >

[ovs-dev] [PATCH] json: Fix parsing of strings that end with a backslash.

2014-06-24 Thread Ben Pfaff
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 Signed-off-by: Ben Pfaff --- lib/json.c| 14 +- tests/json.at |7 +++ 2 files chang