Spdk/test/unit/lib/util
Tomasz Kulasek 1c2163b944 util/cpuset: fix internal string buffer size
When all CPUs are set, formatted string overflows str buffer in the
spdk_cpuset structure with '\0'.

It may destroy CPUs bitmap when formatting is used, so additional
integrity checks are performed in UT.

Change-Id: I92ac790b2c215428cbe0ae89ab4b28570ddb9a0d
Signed-off-by: Tomasz Kulasek <tomaszx.kulasek@intel.com>
Reviewed-on: https://review.gerrithub.io/c/440021
Tested-by: SPDK CI Jenkins <sys_sgci@intel.com>
Reviewed-by: Darek Stojaczyk <dariusz.stojaczyk@intel.com>
Reviewed-by: Jim Harris <james.r.harris@intel.com>
2019-01-12 11:19:12 +00:00
..
base64.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
bit_array.c util: added bit array bitmask load, store and clear 2018-12-14 15:34:53 +00:00
cpuset.c util/cpuset: fix internal string buffer size 2019-01-12 11:19:12 +00:00
crc16.c util/crc16: Add spdk_crc16_t10dif_copy to use in read strip and write insert 2018-12-20 17:52:29 +00:00
crc32_ieee.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
crc32c.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
dif.c dix: Return DIF error information at verification for separate metadata payload 2019-01-09 19:54:35 +00:00
string.c build: remove duplicate spdk.app.mk includes 2018-12-11 18:07:53 +00:00
Makefile dif: Generate DIF for extended LBA payload 2018-12-20 17:52:29 +00:00