diff options
author | Allan McRae <allan@archlinux.org> | 2012-08-11 15:43:43 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2012-09-18 15:38:45 +0200 |
commit | 8f5ee729747937f52c2cc199a7498629ab6c9a7d (patch) | |
tree | a6db19186ef44199f64b780359333d7c6d8fe81e /autoclean.sh | |
parent | 7262f4bed455eee1a9341aabb08110e6c8f6db28 (diff) | |
download | pacman-8f5ee729747937f52c2cc199a7498629ab6c9a7d.tar.gz pacman-8f5ee729747937f52c2cc199a7498629ab6c9a7d.tar.xz |
Avoid interger overflow when calculating remaining line length
When the len and cidx were changed to size_t in a8a1b093, it was
possible to have an integer overflow when a line ended right at the
edge of the terminal width.
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'autoclean.sh')
0 files changed, 0 insertions, 0 deletions