Re: [PATCH 1/2] device: fix enqueuing of characters in ttyinput_many

2013-11-04 Thread Samuel Thibault
Justus Winter, le Mon 04 Nov 2013 19:18:34 +0100, a écrit : > Fix enqueuing of characters in ttyinput_many by wrapping the call to > b_to_q in a loop. This was probably intended by the authors, as they > subtract the number of enqueued characters from count. Mmm, I don't think so actually, see the

[PATCH 1/2] device: fix enqueuing of characters in ttyinput_many

2013-11-04 Thread Justus Winter
Fix enqueuing of characters in ttyinput_many by wrapping the call to b_to_q in a loop. This was probably intended by the authors, as they subtract the number of enqueued characters from count. Found using the Clang Static Analyzer. * device/chario.c (ttyinput_many): Fix enqueuing of characters. -