libfprint/libfprint
Bastien Nocera 3cbc908a6e lib: Add better guard against huge malloc
See dda6857fee
and https://bugzilla.redhat.com/show_bug.cgi?id=1656518

When the number of lines to assemble is 1, the median_filter() function
would be passed -1 as its size as it was calculated with:
(num_lines / 2) - 1
so (1 / 2) - 1 = 0 - 1 = -1

Add a guard to stop drivers trying to assemble single lines. This
doesn't however fix the vfs5011 driver that tried to do that.
2018-12-06 10:58:35 +01:00
..
drivers vfs101: Add FIXME about fpi_imgdev_set_action_result usage 2018-11-29 17:32:37 +01:00
nbis mindtct: Fix a memory leak in morph_TF_map() 2018-10-12 00:54:39 +00:00
drivers_api.h lib: Remove upekts used headers from the docs 2018-11-29 17:32:37 +01:00
empty_file build: Remove the need to modify sources for new drivers 2018-05-24 12:23:39 +02:00
fp_internal.h lib: Remove duplicated structs from fp_internal.h 2018-11-30 16:08:42 +01:00
fpi-assembling.c lib: Add better guard against huge malloc 2018-12-06 10:58:35 +01:00
fpi-assembling.h lib: Document assembling functions 2018-12-03 16:06:53 +01:00
fpi-async.c lib: Remove upekts used headers from the docs 2018-11-29 17:32:37 +01:00
fpi-async.h lib: Make 6 async reporting funcs private 2018-11-29 17:32:37 +01:00
fpi-core.c lib: Fix lack of description for fp_dscv_dev_get_driver_id() 2018-11-29 17:32:36 +01:00
fpi-core.h lib: Remove duplicated structs from fp_internal.h 2018-11-30 16:08:42 +01:00
fpi-data.c lib: Remove upekts used headers from the docs 2018-11-29 17:32:37 +01:00
fpi-data.h lib: Make the fp_print_data structure private 2018-11-29 17:32:37 +01:00
fpi-dev-img.c lib: Document fpi_imgdev_*() functions 2018-11-29 17:32:37 +01:00
fpi-dev-img.h lib: Remove unused fp_imgdev_verify_state enum 2018-11-29 17:32:36 +01:00
fpi-dev.c lib: Document FP_IMG_DEV 2018-11-25 12:42:11 +00:00
fpi-dev.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fpi-img-pixman.c lib: Document fp_img functions 2018-11-29 13:15:03 +01:00
fpi-img.c lib: Add API docs for fpi_img comparison functions 2018-12-03 14:22:12 +01:00
fpi-img.h lib: Hide struct fp_minutiae from the docs 2018-11-29 17:32:37 +01:00
fpi-log.h lib: Add @short_description for all the sections 2018-11-25 12:42:11 +00:00
fpi-poll.c lib: Add @short_description for all the sections 2018-11-25 12:42:11 +00:00
fpi-poll.h lib: Make fpi_poll_is_setup() private 2018-11-09 13:33:02 +01:00
fpi-ssm.c lib: Add @short_description for all the sections 2018-11-25 12:42:11 +00:00
fpi-ssm.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fpi-sync.c lib: Fix up third-person usage in API docs 2018-10-23 11:24:56 +02:00
fpi-usb.c lib: Add @short_description for all the sections 2018-11-25 12:42:11 +00:00
fpi-usb.h lib: Remove titles from headers 2018-09-28 15:12:39 +02:00
fprint-list-supported-devices.c lib: Supported devices list is for master, not stable 2018-06-12 12:46:19 +02:00
fprint-list-udev-rules.c elan: Remove supported devices from udev whitelist 2018-08-09 14:45:15 +02:00
fprint.h lib: Reword "use the functions below" docs 2018-11-29 17:32:37 +01:00
meson.build lib: Split off imgdev functions 2018-09-28 15:12:39 +02:00