]> git.eshelyaron.com Git - emacs.git/commit
Check for some overflows in vertical-motion
authorPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Feb 2015 19:25:35 +0000 (11:25 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Mon, 9 Feb 2015 19:26:33 +0000 (11:26 -0800)
commit21d1f8b85eec8fc1f87bb30398e449f6b20b6ecc
treeb14fbc9f5a660d3d4778dd84e36076fe98a5fd4c
parentb7028f6736132d8e29fc656e700a17163499d49b
Check for some overflows in vertical-motion

* indent.c (window_column_x): New function.
(Fvertical_motion): Use it to protect against integer overflow
when computing column.  Prefer extract_float to doing things by hand.
Avoid unnecessary casts.
src/ChangeLog
src/indent.c