Message ID | 20201201191026.4149955-2-philmd@redhat.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | hw/scsi/megasas: Avoid buffer overrun in megasas_handle_scsi() | expand |
Philippe Mathieu-Daudé <philmd@redhat.com> 于2020年12月2日周三 上午3:11写道: > > Missed in fd250172842 ("qtest: add a reproducer for LP#1878642"). > > Reviewed-by: Thomas Huth <thuth@redhat.com> > Signed-off-by: Philippe Mathieu-Daudé <philmd@redhat.com> Reviewed-by: Li Qiang <liq3ea@gmail.com> > --- > tests/qtest/fuzz-test.c | 1 + > 1 file changed, 1 insertion(+) > > diff --git a/tests/qtest/fuzz-test.c b/tests/qtest/fuzz-test.c > index 9cb4c42bdea..87b72307a5b 100644 > --- a/tests/qtest/fuzz-test.c > +++ b/tests/qtest/fuzz-test.c > @@ -45,6 +45,7 @@ static void test_lp1878642_pci_bus_get_irq_level_assert(void) > qtest_outl(s, 0xcf8, 0x8400f841); > qtest_outl(s, 0xcfc, 0xebed205d); > qtest_outl(s, 0x5d02, 0xebed205d); > + qtest_quit(s); > } > > int main(int argc, char **argv) > -- > 2.26.2 > >
diff --git a/tests/qtest/fuzz-test.c b/tests/qtest/fuzz-test.c index 9cb4c42bdea..87b72307a5b 100644 --- a/tests/qtest/fuzz-test.c +++ b/tests/qtest/fuzz-test.c @@ -45,6 +45,7 @@ static void test_lp1878642_pci_bus_get_irq_level_assert(void) qtest_outl(s, 0xcf8, 0x8400f841); qtest_outl(s, 0xcfc, 0xebed205d); qtest_outl(s, 0x5d02, 0xebed205d); + qtest_quit(s); } int main(int argc, char **argv)