On Wednesday, November 04, 2015 10:41:41 PM Jakub Kicinski wrote: > > [....] > > Doesn't the second patch make this one unnecessary? In my actual scenario, this is true. But without this bounds check, a peripherial device can cause a buffer overflow and crash the kernel, by just reporting some value. I would argue that this must not be possible, and thus we need this check. Florian -- To unsubscribe from this list: send the line "unsubscribe linux-serial" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html