]> git.eshelyaron.com Git - emacs.git/commit
Enable Gnulib substitute on Android systems with defective strnlen
authorPo Lu <luangruo@yahoo.com>
Fri, 5 Jul 2024 04:09:52 +0000 (12:09 +0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 7 Jul 2024 13:16:53 +0000 (15:16 +0200)
commit54209665368ceb7c0585e766163e2758c2a9629d
tree7ddc3c8f842409f68c3dfeaa015c5742230295fa
parentc41f2664b96d3acb997279fe7e6dd96cbc225f56
Enable Gnulib substitute on Android systems with defective strnlen

* configure.ac (AC_FUNC_STRNLEN): Detect a bug where strnlen is
liable to integer overflows if addition of the search limit to
the string would also overflow.

* src/xdisp.c (store_mode_line_string): Remove stopgap measure.

(cherry picked from commit 04d7318efa20cce3aa369fdfd563d8364feb6e78)
configure.ac
src/xdisp.c