Source-Changes-D archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: CVS commit: src/sys/dev/usb



> Module Name:  src
> Committed By: bouyer
> Date:         Thu Mar 15 18:38:37 UTC 2012
> 
> Modified Files:
>       src/sys/dev/usb: ehci.c
> 
> Log Message:
> Do not read array before detecting array overflow, found by gcc -O3

hmmmm.

seems like this should move the DIAG code to just the printf().  this
totally changes the behaviour of the failure mode as-is.

we can detect an overflow here but let non-DIAG code fail.


.mrg.


Home | Main Index | Thread Index | Old Index