svn commit: r351676 - stable/12/sys/dev/qlxgbe
Ed Maste
emaste at FreeBSD.org
Mon Sep 2 00:31:04 UTC 2019
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;
}
More information about the svn-src-all
mailing list