aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/dev_sg.txt.warn
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2020-01-23 14:07:01 +0100
committerDmitry Vyukov <dvyukov@google.com>2020-01-23 15:05:21 +0100
commit0e8428d26ffd80789aa83442676e6fb800e9c0ff (patch)
tree5d110f7952fcdc8a64e0acb1f714d6d54505d3ff /sys/linux/dev_sg.txt.warn
parent9ab9b329d9c8d1477d5b2921671701d9a7a6d2cd (diff)
tools/syz-check: add limited checking of varlen structs
Stop at the fist varlen field, but check the preceeding ones. Frequently the varlen array is the last field, so we should get good checking for these cases. Update #590
Diffstat (limited to 'sys/linux/dev_sg.txt.warn')
-rw-r--r--sys/linux/dev_sg.txt.warn1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/linux/dev_sg.txt.warn b/sys/linux/dev_sg.txt.warn
index 27ec6d0be..2e24c01d4 100644
--- a/sys/linux/dev_sg.txt.warn
+++ b/sys/linux/dev_sg.txt.warn
@@ -44,3 +44,4 @@ bad-field-offset: sg_io_hdr.info/resid: syz=76 kernel=72 [amd64,arm64]
no-such-struct: sg_io_hdr_data
no-such-struct: sg_io_hdr_data_buffer
no-such-struct: sg_io_hdr_data_scatter
+bad-field-size: scsi_ioctl_command.opcode/data: syz=4 kernel=0