summaryrefslogtreecommitdiff
path: root/info
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2012-06-28 08:50:11 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2012-06-28 08:50:11 -0700
commitaa754e6a9ef5fb65e6a4f582101d7284adc01656 (patch)
tree7e9e88060fe037dfa4816c2c1904d3f263c0395f /info
parent80b00b0885b8e124a208dfc9de95d2039a101108 (diff)
downloademacs-aa754e6a9ef5fb65e6a4f582101d7284adc01656.tar.gz
Avoid integer overflow on scroll-left and scroll-right.
* window.c (HSCROLL_MAX): New macro. (Fscroll_left, Fscroll_right): Avoid undefined behavior on integer overflow when requested scroll falls outside ptrdiff_t range.
Diffstat (limited to 'info')
0 files changed, 0 insertions, 0 deletions