diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-08-18 21:07:53 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2014-08-18 21:07:53 +0000 |
commit | 84681e5d410cace6dac2874e7e602ab1848c0d89 (patch) | |
tree | 132f792c39280d07781ec4c835e2798746b01fa4 /lib.c | |
parent | b1980ad8f95c0b32e91275767b1c1d14b4249195 (diff) | |
download | mandoc-84681e5d410cace6dac2874e7e602ab1848c0d89.tar.gz mandoc-84681e5d410cace6dac2874e7e602ab1848c0d89.tar.zst mandoc-84681e5d410cace6dac2874e7e602ab1848c0d89.zip |
Control reading off the edge of our buffer in term_flushln().
This happens in specific conditions (trailing whitespace in certain
terminal modes), but in practise, it happens quite often (as reported by
valgrind).
In short, "Nothing about term_flushln() is simple. Srsly!" (schwarze@)
Discussed on tech@, ok schwarze@.
Diffstat (limited to 'lib.c')
0 files changed, 0 insertions, 0 deletions