summaryrefslogtreecommitdiffstats
path: root/Documentation/TODO
diff options
context:
space:
mode:
authorKarel Zak2019-02-05 12:06:00 +0100
committerKarel Zak2019-02-05 12:06:00 +0100
commit004356f05018e3bfcaddd2652846659a4d8481f3 (patch)
tree929322081416c99c0b9d15b7c0fa12b7a9058da8 /Documentation/TODO
parentMerge branch 'patch-1' of https://github.com/edupont/util-linux (diff)
downloadkernel-qcow2-util-linux-004356f05018e3bfcaddd2652846659a4d8481f3.tar.gz
kernel-qcow2-util-linux-004356f05018e3bfcaddd2652846659a4d8481f3.tar.xz
kernel-qcow2-util-linux-004356f05018e3bfcaddd2652846659a4d8481f3.zip
col: make flush_line() a little bit robust
The code is horrible. The core of the problem are signed integers and no check for the limits. This patch fixes c->c_column = cur_col; where c_column is "short" and "cur_col" is int. Let's use "int" for all the variables. It's really not perfect as for bigger lines it can segfault again... The patch also removes some unnecessary static variables. Addresses: https://github.com/karelzak/util-linux/issues/749 Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'Documentation/TODO')
0 files changed, 0 insertions, 0 deletions