svn commit: r290977 - head/sys/arm/samsung/exynos
Zbigniew Bodek
zbb at FreeBSD.org
Tue Nov 17 12:50:47 UTC 2015
Author: zbb
Date: Tue Nov 17 12:50:45 2015
New Revision: 290977
URL: https://svnweb.freebsd.org/changeset/base/290977
Log:
Fix buffer overflow in exynos5_ehci
Use proper size of exynos_ehci_softc, not the generic one.
Reviewed by: andrew
Submitted by: Wojciech Macek <wma at semihalf.com>
Obtained from: Semihalf
Sponsored by: Juniper Networks Inc.
Differential Revision: https://reviews.freebsd.org/D4189
Modified:
head/sys/arm/samsung/exynos/exynos5_ehci.c
Modified: head/sys/arm/samsung/exynos/exynos5_ehci.c
==============================================================================
--- head/sys/arm/samsung/exynos/exynos5_ehci.c Tue Nov 17 12:18:57 2015 (r290976)
+++ head/sys/arm/samsung/exynos/exynos5_ehci.c Tue Nov 17 12:50:45 2015 (r290977)
@@ -122,7 +122,7 @@ static device_method_t ehci_methods[] =
static driver_t ehci_driver = {
"ehci",
ehci_methods,
- sizeof(ehci_softc_t)
+ sizeof(struct exynos_ehci_softc)
};
static devclass_t ehci_devclass;
More information about the svn-src-all
mailing list