summaryrefslogtreecommitdiff
path: root/src/fontloader/misc/fontloader-font-ota.lua
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-06-15 07:34:18 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-06-15 07:38:38 +0200
commit3bd125a5c844cbd215f2a769619b23e93788ff47 (patch)
tree3eee73220a2144d9f25fd74ca7798784d9af66fd /src/fontloader/misc/fontloader-font-ota.lua
parentba744a4bce3ed03eefbf2b4746fa24e6d388d9ff (diff)
downloadluaotfload-3bd125a5c844cbd215f2a769619b23e93788ff47.tar.gz
[db] fix initialization behavior to prevent crash
Reported by @dohyunkim: https://github.com/lualatex/luaotfload/pull/364#issuecomment-226059150 Under certain circumstances, update_names() was invoked with an empty table instead of a correctly initialized one, breaking the assumptions of the db populating code. This commit also guards more strongly against this kind of oversight and tidies up the db constructor.
Diffstat (limited to 'src/fontloader/misc/fontloader-font-ota.lua')
0 files changed, 0 insertions, 0 deletions