aboutsummaryrefslogtreecommitdiffstats
path: root/module/zfs/spa_config.c
diff options
context:
space:
mode:
authorGeLiXin <[email protected]>2016-12-22 03:27:24 +0800
committerBrian Behlendorf <[email protected]>2016-12-21 11:27:24 -0800
commit547c5936613ef296559eda5177b6391cfbbfb5c6 (patch)
tree4a3a1a3394c5456e33d1f337ee641a2af865e5a9 /module/zfs/spa_config.c
parent53ed2db212320e99e1426be832f4968eb7c42adf (diff)
Fix coverity defects: CID 147587
CID 147587: Out-of-bounds read Future changes may cause an array overrun of 4096 bytes at byte offset 4096 by dereferencing pointer dstp. Adding this additional check ensures correctness. Reviewed-by: Chunwei Chen <[email protected]> Reviewed-by: Brian Behlendorf <[email protected]> Signed-off-by: GeLiXin <[email protected]> Closes #5297
Diffstat (limited to 'module/zfs/spa_config.c')
0 files changed, 0 insertions, 0 deletions