Skip to content

m-lua-scripting: check argument type is table to avoid crashing

P V requested to merge pvir/wireplumber:lua-errcheck into next

In conf_apply_rules, check input argument is a table before assuming it is and potentially crashing.

Add check also in wplua_table_to_properties to avoid similar bugs.


Eg. Conf.apply_rules(..., nil) crashes wireplumber, better emit error on lua scripting errors.

Edited by P V

Merge request reports