]> git.eshelyaron.com Git - emacs.git/commit
Fix set-marker when the position is larger than the largest buffer
authorEli Zaretskii <eliz@gnu.org>
Fri, 6 Dec 2019 13:29:20 +0000 (15:29 +0200)
committerEli Zaretskii <eliz@gnu.org>
Fri, 6 Dec 2019 13:29:20 +0000 (15:29 +0200)
commit1171fa32ca0bc7682b9fdc93babebc4c4feed104
treec06d784814f09d2f3299b8b07eb6c93a1023be3f
parent48373e754034358b5afd8c2ed21d38278eb3141a
Fix set-marker when the position is larger than the largest buffer

* src/marker.c (set_marker_internal): Handle the case where
POSITION is beyond PTRDIFF_MAX, which can happen if Emacs was
built --with-wide-int.  Bug uncovered by the recently added
overlay tests.
src/marker.c