mirror of
https://gitlab.freedesktop.org/libfprint/fprintd.git
synced 2026-02-02 09:40:28 +01: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:
parent
34b21fa917
commit
f4eaacd0ec
1 changed files with 4 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue