mirror of
https://gitlab.freedesktop.org/libfprint/libfprint.git
synced 2025-11-15 07:38:12 +00:00
Fix low minutiae handling
Fixes a crash and adds in a missing break statement
This commit is contained in:
@@ -207,6 +207,7 @@ void fpi_imgdev_report_finger_status(struct fp_img_dev *imgdev,
|
|||||||
fpi_drvcb_report_identify_result(imgdev->dev, r,
|
fpi_drvcb_report_identify_result(imgdev->dev, r,
|
||||||
imgdev->identify_match_offset, img);
|
imgdev->identify_match_offset, img);
|
||||||
fp_print_data_free(data);
|
fp_print_data_free(data);
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
fp_err("unhandled action %d", imgdev->action);
|
fp_err("unhandled action %d", imgdev->action);
|
||||||
break;
|
break;
|
||||||
@@ -281,7 +282,7 @@ void fpi_imgdev_image_captured(struct fp_img_dev *imgdev, struct fp_img *img)
|
|||||||
MIN_ACCEPTABLE_MINUTIAE);
|
MIN_ACCEPTABLE_MINUTIAE);
|
||||||
fp_print_data_free(print);
|
fp_print_data_free(print);
|
||||||
/* depends on FP_ENROLL_RETRY == FP_VERIFY_RETRY */
|
/* depends on FP_ENROLL_RETRY == FP_VERIFY_RETRY */
|
||||||
imgdev->action = FP_ENROLL_RETRY;
|
imgdev->action_result = FP_ENROLL_RETRY;
|
||||||
goto next_state;
|
goto next_state;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user