Commit f4eaacd0 authored by Benjamin Berg's avatar Benjamin Berg
Browse files

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.
parent 34b21fa9
......@@ -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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment