This code was introduced in March 2010. This issue was found thanks to the ongoing efforts to remove zero-length and one-element arrays from the kernel.
A 3 and a half years old out-of-bounds bug in CIFS:
Taking a look into every fall-through warning is not the most glamorous and sexy thing. But the ongoing efforts to enabling -Wimplicit-fallthrough
keep paying off. :) lore.kernel.org/patchwork/patcβ¦
This bug has been out there for almost two years.
Roses are red,
Violets are blue,
I'm almost done,
With the -Wimplicit-fallthrough π»π
Bugs, bugs, ancient bugs!
Another years-old bug found while working on the -Wimplicit-fallthrough stuff: lore.kernel.org/patchwork/patcβ¦