From 0e8428d26ffd80789aa83442676e6fb800e9c0ff Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 23 Jan 2020 14:07:01 +0100 Subject: 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 --- sys/linux/dev_sg.txt.warn | 1 + 1 file changed, 1 insertion(+) (limited to 'sys/linux/dev_sg.txt.warn') 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 -- cgit mrf-deployment