mirror of
https://gitlab.com/mishakmak/pam-fprint-grosshack.git
synced 2026-04-08 20:03:34 +02:00
pam: Return a fixed string about protocol error if there is no message
This can only happen if fprintd is not adhering to the protocol.
This commit is contained in:
@ -202,6 +202,10 @@ verify_result (sd_bus_message *m,
|
||||
}
|
||||
|
||||
msg = verify_result_str_to_msg (result, data->is_swipe);
|
||||
if (!msg) {
|
||||
data->result = strdup ("Protocol error with fprintd!");
|
||||
return 0;
|
||||
}
|
||||
send_err_msg (data->pamh, msg);
|
||||
|
||||
return 0;
|
||||
|
||||
Reference in New Issue
Block a user