diff options
| author | Paul Eggert | 2020-03-25 18:20:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2020-03-25 18:38:07 -0700 |
| commit | 98546d9c823db544b62bdba0bb388816ea6dd342 (patch) | |
| tree | fe46e55c6146b8211ae08a2894bdde892691527a /src/coding.c | |
| parent | e4b6151ff119f36c64d3653b56f761fcdfe47fd3 (diff) | |
| download | emacs-98546d9c823db544b62bdba0bb388816ea6dd342.tar.gz emacs-98546d9c823db544b62bdba0bb388816ea6dd342.zip | |
Fix integer overflow in internal_self_insert
* src/cmds.c (internal_self_insert): Avoid undefined behavior
on integer overflow by using saturated add.
Diffstat (limited to 'src/coding.c')
0 files changed, 0 insertions, 0 deletions