Spdk/test/unit/lib/nvmf/subsystem.c
Seth Howell a1a47b5592 nvmf/subsystem.c: add checks for valid utf-8 chars:
The NVMe spec states that nqn names are to be encoded in utf-8. The
prefixes of all nqn's are already required to be ascii by virtue of
their structure so they are already valid utf-8, but the user specified
strings should be checked for valid utf-8 strings.

Change-Id: I20090d366e93e98af4932eaa120d4edb6e512206
Signed-off-by: Seth Howell <seth.howell@intel.com>
Reviewed-on: https://review.gerrithub.io/394118
Tested-by: SPDK Automated Test System <sys_sgsw@intel.com>
Reviewed-by: Ben Walker <benjamin.walker@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2018-01-11 10:57:38 -05:00
..
.gitignore test: move NVMe-oF library tests to test/unit 2017-06-21 16:51:12 -04:00
Makefile test: move NVMe-oF library tests to test/unit 2017-06-21 16:51:12 -04:00
subsystem_ut.c nvmf/subsystem.c: add checks for valid utf-8 chars: 2018-01-11 10:57:38 -05:00