[PATCH 0/5] printk: Check for too long messages

2014-04-10 Thread Petr Mladek
The check for free space in the log buffer always passes when "first_seq" and "next_seq" are equal. In theory, it might cause writing outside of the log buffer. Fortunately, the current usage looks safe because the used "text" and "dict" buffers are quite limited. See the second patch for more

[PATCH 0/5] printk: Check for too long messages

2014-04-10 Thread Petr Mladek
The check for free space in the log buffer always passes when first_seq and next_seq are equal. In theory, it might cause writing outside of the log buffer. Fortunately, the current usage looks safe because the used text and dict buffers are quite limited. See the second patch for more details.