diff options
author | 2011-07-27 14:11:43 +0300 | |
---|---|---|
committer | 2011-07-27 20:28:16 +0000 | |
commit | 8f50c7f5d63b0e4a29f6f96e8cfaca782e0c458d (patch) | |
tree | bc2f8064a1170be3755b4443f813ee50bf85e3fd /tools/perf/scripts/python/syscall-counts.py | |
parent | iscsi-target: Fix NULL dereference on allocation failure (diff) | |
download | linux-dev-8f50c7f5d63b0e4a29f6f96e8cfaca782e0c458d.tar.xz linux-dev-8f50c7f5d63b0e4a29f6f96e8cfaca782e0c458d.zip |
iscsi-target: strlen() doesn't count the terminator
This patch fixes an off by one check in iscsit_add_tiqn() because the
NULL terminator isn't taken into consideration.
Signed-off-by: Dan Carpenter <error27@gmail.com>
Signed-off-by: Nicholas Bellinger <nab@linux-iscsi.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions