+9
−0
Loading
uuid_from_string() differs from uuid_parse() in the way it handles empty strings: the former succeeds and returns a NULL UUID, while the latter treats is an error and returns non-zero exit code. So, to keep the behavior consistent between Linux and FreeBSD, an extra check was added to forbid passing empty strings under FreeBSD. Signed-off-by:Konrad Sztyber <konrad.sztyber@intel.com> Change-Id: I0ceb397f7614a71e50859467f968f3b4c6978964 Reviewed-on: https://review.spdk.io/gerrit/c/spdk/spdk/+/20534 Tested-by:
SPDK CI Jenkins <sys_sgci@intel.com> Community-CI: Mellanox Build Bot Reviewed-by:
Tomasz Zawadzki <tomasz.zawadzki@intel.com> Reviewed-by:
Jim Harris <jim.harris@samsung.com>