syntax error in terminfo.src trips uninitialized var in tic, screws terminfo
termcap.src contains stray (but grammatical) commas in the descriptions of the screen.*bce-s terminals. These cause the associated entries to not parse.
Separately, an uninitialized token type variable in the tic compiler may cause the invalid tokens caused by thus to read as EOF (or any other token type, valid or not), and thus terminate the parse early (and/or cause havoc).
also, just reading through this, there's a hilariously obvious buffer over run in some dead code used to debug tic.