[sudo-commits] sudo changeset 12306:4a34e528d9f0

Todd C. Miller Todd.Miller at sudo.ws
Sun Mar 29 05:09:26 MDT 2020

changeset:	12306:4a34e528d9f0 in /raid/repos/sudo
details:	https://www.sudo.ws/repos/sudo/rev/4a34e528d9f0
user:		Todd C. Miller <Todd.Miller at sudo.ws>
date:		Sun Mar 29 05:05:08 2020 -0600

Log Message:
	Simply the JSON parsing code a bit.
	We can use a single stack for nested objects and arrays.
	There is also no need to track the current object and array separately.
	This allows us to remove the array special case when assigning a value.


 lib/iolog/iolog_json.c |  118 +++++++++++++++++++-----------------------------
 1 files changed, 46 insertions(+), 72 deletions(-)

More information about the sudo-commits mailing list