emacs/src
Philipp Stephani 109eb1e7e2 Fix undefined behavior when fetching glyphs from the display vector.
You can trigger this rather obscure bug by enabling selective display
if the second glyph in its display vector has an invalid face.  For
example, evaluate

(set-display-table-slot standard-display-table
                        'selective-display [?A (?B . invalid)])

and then enable selective display.

* src/xdisp.c (next_element_from_display_vector): Check whether next
glyph code is valid before accessing it.
2020-11-09 22:14:39 +01:00
..
bitmaps
.dbxinit
.gdbinit Port .gdbinit to clang with -gdwarf-4 2020-03-09 12:25:56 -07:00
alloc.c Be more aggressive in marking objects during GC 2020-05-31 16:30:54 -07:00
atimer.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
atimer.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bidi.c Prevent redisplay from moving point behind user's back 2020-11-04 22:10:06 +02:00
bignum.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bignum.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
blockinput.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
buffer.c * src/buffer.c (syms_of_buffer) <fill-column>: Improve doc string. 2020-10-27 17:43:29 +02:00
buffer.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bytecode.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callint.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
callproc.c Make after-change-functions called from call-process get the correct BEG 2020-02-13 19:00:36 +00:00
casefiddle.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
casetab.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
category.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
category.h Rename integerp->fixnum, etc, in preparation for bignums 2018-07-12 22:12:27 -06:00
ccl.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ccl.h Prefer HTTPS to FTP and HTTP in documentation 2017-09-13 15:54:37 -07:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.2 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.3 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.4 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.5 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.6 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.7 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.8 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.9 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.10 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.11 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.12 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.13 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
character.c ; * src/character.c (str_as_multibyte): Fix the commentary. 2020-08-21 18:15:05 +03:00
character.h Stop signaling an error when reading "smart quotes" in symbols 2019-11-28 18:03:42 -05:00
charset.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
charset.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
chartab.c Do not alter match data in Fcapitalize etc. 2019-07-09 13:11:45 -07:00
cm.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cm.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cmds.c Fix access to single-byte characters in buffer text 2020-05-25 17:07:22 +03:00
coding.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
coding.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
commands.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
composite.c ; spelling fixes 2020-08-13 16:48:16 -07:00
composite.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
conf_post.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
COPYING Merge from Gnulib 2017-10-01 18:31:10 -07:00
cygw32.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cygw32.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
data.c Improve doc strings of makunbound and fmakunbound 2020-05-03 22:01:23 +02:00
dbusbind.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
decompress.c ; * src/decompress.c: Fix comment style. 2020-03-29 19:14:13 +03:00
deps.mk Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dired.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dispextern.h Fix face extension past EOL in overlay strings 2020-08-13 16:38:44 +03:00
dispnew.c Fix 'send-string-to-terminal' writing very long strings 2020-11-07 11:19:44 +02:00
disptab.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dmpstruct.awk Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doprnt.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dosfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dosfns.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dynlib.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dynlib.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
editfns.c Fix replace-region-contents performance bug 2020-08-25 11:25:21 -07:00
emacs-icon.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs-module.c Backport: Make checking for liveness of global values more precise. 2020-07-31 18:18:43 +02:00
emacs-module.h.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacs.c Fix failure of 'emacs --daemon' on Cygwin 2020-10-29 08:45:29 -04:00
emacsgtkfixed.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
emacsgtkfixed.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
epaths.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
eval.c Avoid crashes in 'defconst' 2020-06-20 11:05:28 +03:00
fileio.c Fix bug when visiting euc-jp-encoded directories 2020-02-19 17:22:27 -08:00
filelock.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
firstfile.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
floatfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fns.c Make sure alist-related functions say so in their doc 2020-04-29 17:52:53 +03:00
font.c Don't attempt to cache glyph metrics for FONT_INVALID_CODE 2020-03-02 09:59:34 +01:00
font.h Don't attempt to cache glyph metrics for FONT_INVALID_CODE 2020-03-02 09:59:34 +01:00
fontset.c Avoid crashes when a fontset has strange entries 2020-03-05 17:57:21 +02:00
fontset.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
frame.c Don't skip empty lines when fitting mini frame to buffer (Bug#44080) 2020-10-27 09:45:25 +01:00
frame.h Correct "different than" to "different from" where appropriate 2020-02-09 14:33:14 +00:00
fringe.c Range-check width passed to define-fringe-bitmap 2020-02-26 19:18:54 +01:00
ftcrfont.c Handle Cairo errors in ftcrfont_open 2020-11-07 10:13:07 +02:00
ftfont.c Use correct registry name for windows-1251 charset 2020-03-19 09:21:52 +01:00
ftfont.h extern function cleanup 2019-08-24 15:55:08 -07:00
ftxfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
getpagesize.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gfilenotify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gmalloc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gnutls.c Define libgnutls-version properly 2020-02-25 20:12:57 -05:00
gnutls.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
gtkutil.c Add commentary in gtkutil.c 2020-07-11 12:47:26 +03:00
gtkutil.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
hbfont.c Fix Arabic shaping when eww/shr fill the text to be rendered 2020-06-05 10:56:01 +03:00
image.c Avoid crashes when trying to load bad GIF files 2020-09-08 19:17:23 +03:00
indent.c Fix Arabic shaping when column-number-mode is in effect 2020-07-25 19:19:27 +03:00
indent.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
inotify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
insdel.c Clarify documentation on inhibit-modification-hooks intended usage 2020-04-13 12:15:13 +02:00
intervals.c Avoid assertion violation in intervals.c 2020-04-09 11:21:18 +03:00
intervals.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
json.c Fix undefined behavior in json.c (Bug#42113) 2020-06-29 12:32:56 +02:00
keyboard.c Fix posn-at-x-y in builds --without-x 2020-10-16 10:02:50 +03:00
keyboard.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keymap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
keymap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
kqueue.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lastfile.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lcms.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lisp.h Don't signal during backtrace unrewind (Bug#40088) 2020-03-22 23:06:31 -04:00
lread.c ; Fix some typos and doc issues (bug#40695) 2020-04-18 17:10:02 +02:00
macfont.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macfont.m Fix display of Big5 characters when using Fontconfig 2020-03-14 10:31:01 +02:00
macros.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macros.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
macuvs.h Bring macuvs.h back under Git control 2019-06-22 11:41:49 -07:00
Makefile.in Update copyright year to 2020 2020-01-01 00:59:52 +00:00
marker.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
menu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
menu.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mini-gmp-emacs.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mini-gmp.c Fix duplicated words in comments 2019-10-15 14:28:59 +02:00
mini-gmp.h Update from GMP 2019-04-28 13:17:30 -07:00
minibuf.c Ensure minibuffer input is added to history in read_minibuf 2020-01-31 11:17:41 +02:00
module-env-25.h Fix misuses of NULL when talking about the NUL character 2019-03-21 23:55:28 -04:00
module-env-26.h emacs-module.h: Create emacs_env_26 2017-06-17 19:16:14 +02:00
module-env-27.h Fix small bugs introduced in commit 096be9c454 2019-12-05 01:14:03 +01:00
msdos.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
msdos.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsfns.m Remove EmacsOpenPanel and EmacsSavePanel (bug#38031) 2020-01-24 09:55:55 +00:00
nsfont.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsgui.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsimage.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsmenu.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsselect.m Update copyright year to 2020 2020-01-01 00:59:52 +00:00
nsterm.h Remove EmacsOpenPanel and EmacsSavePanel (bug#38031) 2020-01-24 09:55:55 +00:00
nsterm.m Use modern constant names for the NS pasteboard 2020-09-18 20:06:36 +01:00
pdumper.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
pdumper.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
print.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
process.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
process.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
profiler.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ptr-bounds.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
puresize.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ralloc.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
README Update copyright year to 2020 2020-01-01 00:59:52 +00:00
regex-emacs.c * src/regex-emacs.c (re_match_2_internal): Rework comment in last change 2020-04-18 23:01:43 -04:00
regex-emacs.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
region-cache.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
region-cache.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
scroll.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
search.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sheap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sheap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sound.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syntax.c Fix a rare segfault in syntax.c 2020-09-19 19:54:01 +03:00
syntax.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sysdep.c Make sure pixel sizes are zero when setting window size for ptys. 2020-10-29 14:55:37 -07:00
sysselect.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syssignal.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sysstdio.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
systhread.c Cater for 3-argument version of pthread_setname_np 2020-02-03 16:40:25 +01:00
systhread.h Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
systime.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
systty.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
syswait.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
term.c A better fix for bug#43886 2020-10-10 11:11:34 +03:00
termcap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
termchar.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
termhooks.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
terminal.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
terminfo.c Fix compilation on TERMINFO platforms with GCC 10 2020-09-12 10:11:26 +03:00
termopts.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
textprop.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
thread.c Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
thread.h Fix BSD and macOS builds w.r.t. pthread_setname_np (bug#38632) 2020-01-07 17:57:31 +01:00
timefns.c ; * src/timefns.c: Fix typo in previous change. 2020-03-08 16:49:32 -07:00
tparam.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tparam.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
undo.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexaix.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexcoff.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexcw.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexec.h Make src headers idempotent and standalone 2015-10-16 14:56:11 -07:00
unexelf.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
unexhp9k800.c Use fewer locks when accessing stdio 2019-07-08 17:50:39 -07:00
unexmacosx.c Fix unexec failure on macOS 10.15.4 2020-02-16 09:50:26 +09:00
unexsol.c Include-file cleanup for src directory 2015-10-20 18:35:53 -07:00
unexw32.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
vm-limit.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w16select.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32.c Don't signal an error when saving files on WdebDAV volumes 2020-09-29 18:21:23 +03:00
w32.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32common.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32console.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32cygwinx.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32fns.c * src/w32fns.c (Fw32_register_hot_key): Doc fix. (Bug#44456) 2020-11-05 19:46:50 +02:00
w32font.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32font.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32gui.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32heap.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32heap.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32inevt.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32inevt.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32menu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32notify.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32proc.c Fix interrupt-process on MS-Windows 2020-07-16 19:51:19 +03:00
w32reg.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32select.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32select.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32term.c Recalculate default font when switching font backend 2020-03-17 16:58:09 +01:00
w32term.h Recalculate default font when switching font backend 2020-03-17 16:58:09 +01:00
w32uniscribe.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
w32xfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widget.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widget.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
widgetprv.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
window.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
window.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xdisp.c Fix undefined behavior when fetching glyphs from the display vector. 2020-11-09 22:14:39 +01:00
xfaces.c A better fix for bug#43886 2020-10-10 11:11:34 +03:00
xfns.c ; spelling fixes 2020-08-13 16:48:16 -07:00
xfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xftfont.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xgselect.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xgselect.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xmenu.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xml.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xrdb.c Fix bug with ~/Emacs file not being read at init 2020-08-16 21:41:03 -07:00
xselect.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsettings.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsettings.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xsmfns.c Update copyright year to 2020 2020-01-01 00:59:52 +00:00
xterm.c Prevent from frozen frame after `C-z' in Lucid builds 2020-08-15 16:18:03 +02:00
xterm.h Recalculate default font when switching font backend 2020-03-17 16:58:09 +01:00
xwidget.c Use WebKit sandboxing 2020-10-24 16:52:49 -07:00
xwidget.h Update copyright year to 2020 2020-01-01 00:59:52 +00:00

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

Copyright (C) 2001-2020 Free Software Foundation, Inc.
See the end of the file for license conditions.


This directory contains the source files for the C component of GNU Emacs.
Nothing in this directory is needed for using Emacs once it is built
and installed, if the dumped Emacs is copied elsewhere.

See the files ../README and then ../INSTALL for installation instructions.

The file 'Makefile.in' is used as a template by the script
'../configure' to produce 'Makefile'.  This is the file which actually
controls the compilation of Emacs C source files.  All of this should
work transparently; you should only need to change to the parent
directory, run './configure', and then run 'make'.

This file is part of GNU Emacs.

GNU Emacs is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

GNU Emacs is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with GNU Emacs.  If not, see <https://www.gnu.org/licenses/>.