diff options
| author | Ishizaki Kou <[email protected]> | 2008-03-17 21:05:18 +1100 |
|---|---|---|
| committer | Paul Mackerras <[email protected]> | 2008-04-17 07:46:10 +1000 |
| commit | 55045d47d7a8c4c61bc0ca6f2fac5087dd598bc3 (patch) | |
| tree | e2a2c327604d0c521a59a49524655248831412c9 /tools/perf/scripts/python/bin | |
| parent | 2fe37a6ec933ca7332a8ca8d29e87705116afd3a (diff) | |
[POWERPC] hvcbeat: Fix buffer manipulation
This fixes a potential bug at drivers/char/hvc_beat.c.
- hvc_put_term_char routine will decrement "rest" variable twice,
and forget to advance "buf" pointer by "nlen" bytes.
This bug was not hit previously because the output handler in
drivers/char/hvc_console.c splits given output into 16 bytes
at maximum.
Reported-by: Timur Tabi <[email protected]>
Signed-off-by: Kou Ishizaki <[email protected]>
Acked-by: Arnd Bergmann <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions