Author: emaste Date: Mon Sep 2 00:31:03 2019 New Revision: 351676 URL: https://svnweb.freebsd.org/changeset/base/351676
Log: MFC r351620: qlxgbe: avoid NULL deref in error case Reported by: Dr Silvio Cesare of InfoSect Sponsored by: The FreeBSD Foundation Modified: stable/12/sys/dev/qlxgbe/ql_isr.c Directory Properties: stable/12/ (props changed) Modified: stable/12/sys/dev/qlxgbe/ql_isr.c ============================================================================== --- stable/12/sys/dev/qlxgbe/ql_isr.c Mon Sep 2 00:29:16 2019 (r351675) +++ stable/12/sys/dev/qlxgbe/ql_isr.c Mon Sep 2 00:31:03 2019 (r351676) @@ -793,7 +793,7 @@ ql_mbx_isr(void *arg) ha = arg; if (ha == NULL) { - device_printf(ha->pci_dev, "%s: arg == NULL\n", __func__); + printf("%s: arg == NULL\n", __func__); return; } _______________________________________________ svn-src-all@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"