Re: kernel/printk/printk.c: Invalid access when buffer wraps around?

2016-08-05 Thread Vincent Brillault
he buffer, but I guess this is better than having a bug ;) I'm sorry for the noise everyone. Thank you for your patience and great explanation. Sincerely yours, Vincent Brillault signature.asc Description: OpenPGP digital signature

Re: kernel/printk/printk.c: Invalid access when buffer wraps around?

2016-07-31 Thread Vincent Brillault
t; > like the above? Mmm, I did not think of such a case, which might be possible. I was more thinking of a userland daemon reading the buffer (via /dev/kmsg) in non-blocking mode and only pulling from time to time. I agree that this is probably not seen often, which could explain why nobod

kernel/printk/printk.c: Invalid access when buffer wraps around?

2016-07-25 Thread Vincent Brillault
that this bug is very difficult to trigger and, as a user don't have proper control on the content of the printk buffer, it can at most lead to a kernel panic in some very unfortunate circumstances. Sincerely yours, Vincent Brillault Description of the printk buffer from the headers: ```