aboutsummaryrefslogtreecommitdiff
path: root/lib/test_fortify/write_overflow-strncpy-src.c
diff options
context:
space:
mode:
authorDaniel Wagner <[email protected]>2024-01-31 09:51:06 +0100
committerKeith Busch <[email protected]>2024-02-01 07:44:51 -0800
commitca121a0f7515591dba0eb5532bfa7ace4dc153ce (patch)
tree3119221fcb2242b08ddb0def507b11a143753817 /lib/test_fortify/write_overflow-strncpy-src.c
parentc5e27b1a779ec25779d04c3af65aebaee6bd4304 (diff)
nvmet-fc: hold reference on hostport match
The hostport data structure is shared between the association, this why we keep track of the users via a refcount. So we should not decrement the refcount on a match and free the hostport several times. Reported by KASAN. Reviewed-by: Hannes Reinecke <[email protected]> Reviewed-by: Christoph Hellwig <[email protected]> Signed-off-by: Daniel Wagner <[email protected]> Signed-off-by: Keith Busch <[email protected]>
Diffstat (limited to 'lib/test_fortify/write_overflow-strncpy-src.c')
0 files changed, 0 insertions, 0 deletions