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@semihalf.com> Obtained from: Semihalf Sponsored by: Juniper Networks Inc. Differential Revision: https://reviews.freebsd.org/D4189
This commit is contained in:
parent
01bedb0cf4
commit
166800cd36
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user