Skip to content

synaptics: Add null check to prevent g_propagate_error assertion failure

Vincent Huang requested to merge vincenth/libfprint:fix-crash-20230908 into master

As the title suggests, this commit addresses an issue introduced by the previous change. The g_propagate_error function does not allow a NULL src error. To prevent assertion failures, we need to perform a NULL check before calling g_propagate_error, especially in cases where fpi_device_identify_report has been called to return an error.

Merge request reports