diff options
author | Philipp Gesang <phg@phi-gamma.net> | 2016-06-15 07:34:18 +0200 |
---|---|---|
committer | Philipp Gesang <phg@phi-gamma.net> | 2016-06-15 07:38:38 +0200 |
commit | 3bd125a5c844cbd215f2a769619b23e93788ff47 (patch) | |
tree | 3eee73220a2144d9f25fd74ca7798784d9af66fd /src/fontloader/misc/fontloader-util-str.lua | |
parent | ba744a4bce3ed03eefbf2b4746fa24e6d388d9ff (diff) | |
download | luaotfload-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-util-str.lua')
0 files changed, 0 insertions, 0 deletions