aboutsummaryrefslogtreecommitdiff
path: root/lib/test-string_helpers.c
diff options
context:
space:
mode:
authorPeter Hurley <[email protected]>2013-11-08 09:42:18 -0500
committerGreg Kroah-Hartman <[email protected]>2013-11-25 08:35:00 -0800
commit6f2225363c205e186c1465c2c7c84f17c1635504 (patch)
tree21445d1f3e606048db55a3cb07e6bdcd8f5c8485 /lib/test-string_helpers.c
parent42458f41d08f0873299e830464c1232a6839297d (diff)
n_tty: Fix echo overrun tail computation
Commit cbfd0340ae1993378fd47179db949e050e16e697, 'n_tty: Process echoes in blocks', introduced an error when consuming the echo buffer tail to prevent buffer overrun, where the incorrect operation code byte is checked to determine how far to advance the tail to the next echo byte. Check the correct byte for the echo operation code byte. Cc: <[email protected]> # 3.12.x : c476f65 tty: incorrect test of echo_buf() result for ECHO_OP_START Cc: <[email protected]> # 3.12.x Signed-off-by: Peter Hurley <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'lib/test-string_helpers.c')
0 files changed, 0 insertions, 0 deletions