aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorPo Lu2024-06-26 12:08:55 +0800
committerPo Lu2024-06-26 12:12:20 +0800
commit8b1841021c0d1ca92cb79443909824519429f75f (patch)
tree7d298edf4b9e3f44da7c2999a515429ec2cc1c7a /java
parente7c85f9235af485baba6e398b4f509f14bf80b1c (diff)
downloademacs-8b1841021c0d1ca92cb79443909824519429f75f.tar.gz
emacs-8b1841021c0d1ca92cb79443909824519429f75f.zip
Avert crash in store_mode_line_string on Android 5.0 and earlier
* src/xdisp.c (store_mode_line_string) [__ANDROID_API__ < 22]: Call strlen on STRING if the limit would otherwise be SIZE_MAX, or if the address of the string is within PRECISION bytes of UINTPTR_MAX, in which case it cannot possibly be larger than PRECISION.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions