Re: [ovs-dev] [PATCH] json: Fix error message for corner case in json_string_unescape().

2015-05-29 Thread Ben Pfaff
Thanks, I'll apply this in a minute. On Fri, May 29, 2015 at 01:28:27PM -0700, Alex Wang wrote: Acked-by: Alex Wang al...@nicira.com On Fri, May 29, 2015 at 10:39 AM, Ben Pfaff b...@nicira.com wrote: On Wed, Feb 25, 2015 at 08:46:02AM -0800, Ben Pfaff wrote: The error message

Re: [ovs-dev] [PATCH] json: Fix error message for corner case in json_string_unescape().

2015-05-29 Thread Ben Pfaff
On Wed, Feb 25, 2015 at 08:46:02AM -0800, Ben Pfaff wrote: The error message should not include bytes already copied from the input string. Found by inspection. Signed-off-by: Ben Pfaff b...@nicira.com This could still use a review. ___ dev

[ovs-dev] [PATCH] json: Fix error message for corner case in json_string_unescape().

2015-02-25 Thread Ben Pfaff
The error message should not include bytes already copied from the input string. Found by inspection. Signed-off-by: Ben Pfaff b...@nicira.com --- lib/json.c | 3 ++- tests/ovsdb-data.at | 8 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/lib/json.c