[U-Boot] [PATCH 1/6] usb: dwc2: avoid out of bounds access
Stefan Bruens
stefan.bruens at rwth-aachen.de
Thu Dec 17 02:44:22 CET 2015
On Wednesday 16 December 2015 11:29:14 Marek Vasut wrote:
> > > + if (!in && xfer_len) {
> >
> > Do zero-length memcpy or flush_dcache_range actually cause an issue?
>
> I believe they should not, based on how they are implemented.
I think that's correct, it is just a minor optimization.
Kind regards,
Stefan
--
Stefan Brüns / Bergstraße 21 / 52062 Aachen
home: +49 241 53809034 mobile: +49 151 50412019
work: +49 2405 49936-424
More information about the U-Boot
mailing list