summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-seq.el
diff options
context:
space:
mode:
authorPhilipp Stephani <phst@google.com>2019-12-23 21:24:37 +0100
committerPhilipp Stephani <phst@google.com>2019-12-23 21:27:23 +0100
commit00c9949158e82fc93135ac62013bee1c08161649 (patch)
treee4905c8be7020ad36d54528a3b10d8cbab79cd0b /lisp/emacs-lisp/cl-seq.el
parent17c19817f7f4ec918a3a9bb3c957b1aa0463da82 (diff)
downloademacs-00c9949158e82fc93135ac62013bee1c08161649.tar.gz
emacs-00c9949158e82fc93135ac62013bee1c08161649.tar.bz2
emacs-00c9949158e82fc93135ac62013bee1c08161649.zip
Remove some undefined behavior related to left shifts.
Found by UBSan. * src/nsfns.m (ns_set_foreground_color, ns_set_background_color): * src/nsimage.m (getPixelAtX:Y:): * src/nsterm.m (ns_color_index_to_rgba): Add explicit casts to avoid undefined behavior when left-shifting beyond the bounds of the int type. * src/macfont.m (METRICS_VALUE): Add explicit casts to avoid undefined behavior when left-shifting a negative value.
Diffstat (limited to 'lisp/emacs-lisp/cl-seq.el')
0 files changed, 0 insertions, 0 deletions