the following patch was just integrated into master: commit 3ab8ce52f9c1ab921175aa930f6b8fe91b78e62b Author: Jeremy Compostella jeremy.compostella@intel.com Date: Wed Sep 7 14:09:34 2016 +0200
libpayload: Fix strtok_r
This patch makes strtok_r: - handle the end of the string - handle string that contains only delimiters - do not set ptr outside of str
Change-Id: I49925040d951dffb9c11425334674d8d498821f1 Signed-off-by: Jeremy Compostella jeremy.compostella@gmail.com Reviewed-on: https://review.coreboot.org/16524 Tested-by: build bot (Jenkins) Reviewed-by: Stefan Reinauer stefan.reinauer@coreboot.org Reviewed-by: Nico Huber nico.h@gmx.de
See https://review.coreboot.org/16524 for details.
-gerrit