svn commit: r351618 - head/sys/arm/samsung/exynos

Ed Maste emaste at FreeBSD.org
Fri Aug 30 00:34:28 UTC 2019


Author: emaste
Date: Fri Aug 30 00:34:27 2019
New Revision: 351618
URL: https://svnweb.freebsd.org/changeset/base/351618

Log:
  exynos5: avoid NULL deref in error case
  
  Reported by:	Dr Silvio Cesare of InfoSect
  MFC after:	3 days
  Sponsored by:	The FreeBSD Foundation

Modified:
  head/sys/arm/samsung/exynos/exynos5_combiner.c

Modified: head/sys/arm/samsung/exynos/exynos5_combiner.c
==============================================================================
--- head/sys/arm/samsung/exynos/exynos5_combiner.c	Fri Aug 30 00:30:03 2019	(r351617)
+++ head/sys/arm/samsung/exynos/exynos5_combiner.c	Fri Aug 30 00:34:27 2019	(r351618)
@@ -314,7 +314,7 @@ combiner_setup_intr(char *source_name, void (*ih)(void
 	sc = combiner_sc;
 
 	if (sc == NULL) {
-		device_printf(sc->dev, "Error: combiner is not attached\n");
+		printf("%s: error: combiner is not attached\n", __func__);
 		return;
 	}
 


More information about the svn-src-head mailing list