[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#275086: kbd-chooser: should nog segfault on errors in includes

Package: kbd-chooser
Version: 1.02

If there are errors in includes in kmap files, kbd-chooser will segfault in 
function yyparse() in loadkeys.y.

Instead of segfaulting, kbd-chooser should provide a decent error message.

(Note: AFAICT the segfault does _not_ happen if kbd-chooser is compiled with 
debugging enabled.)

Example /usr/share/keymaps/i386/quertz/mac-usb-pt-latin1.kmap has/had:
  include "../qwertz/mac-usb-de-latin1.kmap"
Removing '../qwertz/' fixed the error.

Reply to: