svn commit: r351677 - stable/11/sys/dev/qlxgbe
Ed Maste
emaste at FreeBSD.org
Mon Sep 2 00:31:06 UTC 2019
Author: emaste
Date: Mon Sep 2 00:31:05 2019
New Revision: 351677
URL: https://svnweb.freebsd.org/changeset/base/351677
Log:
MFC qlxgbe: avoid NULL deref in error case
Reported by: Dr Silvio Cesare of InfoSect
Sponsored by: The FreeBSD Foundation
Modified:
stable/11/sys/dev/qlxgbe/ql_isr.c
Directory Properties:
stable/11/ (props changed)
Modified: stable/11/sys/dev/qlxgbe/ql_isr.c
==============================================================================
--- stable/11/sys/dev/qlxgbe/ql_isr.c Mon Sep 2 00:31:03 2019 (r351676)
+++ stable/11/sys/dev/qlxgbe/ql_isr.c Mon Sep 2 00:31:05 2019 (r351677)
@@ -791,7 +791,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-stable-11
mailing list