libfprint/libfprint
Bastien Nocera 52f84bee3c vfs5011: Error out when no lines were captured
Which avoids passing zero lines to fpi_assemble_lines()

"gmem.c:130: failed to allocate 18446744073709551612 bytes"

 #3  0x00007fe4f6ef428f in g_log (log_domain=log_domain@entry=0x7fe4f6f3506e "GLib", log_level=log_level@entry=G_LOG_LEVEL_ERROR, format=format@entry=0x7fe4f6f3e610 "%s: failed to allocate %lu bytes") at gmessages.c:1398
 #4  0x00007fe4f6ef2ac4 in g_malloc0 (n_bytes=n_bytes@entry=18446744073709551612) at gmem.c:129
 #5  0x00007fe4f8052020 in median_filter (filtersize=25, size=-1, data=0x0) at assembling.c:309
 #6  fpi_assemble_lines (ctx=ctx@entry=0x7fe4f82ac3c0 <assembling_ctx>, lines=0x0, lines_len=0) at assembling.c:389
 #7  0x00007fe4f805f3db in submit_image (ssm=ssm@entry=0x16c3cba360, data=data@entry=0x16c3cb9cc0) at drivers/vfs5011.c:412

See https://bugzilla.redhat.com/show_bug.cgi?id=1484812

Closes: #42
2018-05-31 11:08:41 +02:00
..
drivers vfs5011: Error out when no lines were captured 2018-05-31 11:08:41 +02:00
nbis mindtct: Fix compilation warnings 2018-03-11 22:43:04 +01:00
aeslib.c lib: Use GLib and libusb directly for debug output 2018-05-23 19:13:08 +02:00
aeslib.h lib: Use public header in helper files 2018-05-29 13:34:18 +02:00
assembling.c assembling: Add guards to fpi_assemble_lines() 2018-05-31 11:06:31 +02:00
assembling.h lib: Use public header in helper files 2018-05-29 13:34:18 +02:00
async.c lib: Use GLib and libusb directly for debug output 2018-05-23 19:13:08 +02:00
core.c lib: Simplify device discovery 2018-05-29 13:45:27 +02:00
data.c data: Mark all the fp_dscv_print functions as deprecated 2018-05-24 13:21:40 +02:00
drivers_api.h lib: Remove 2 more functions from the drivers API 2018-05-29 13:34:18 +02:00
drv.c lib: Make fpi_ssm opaque for drivers 2018-05-29 13:34:18 +02: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: fp_imgdev_*() functions are only used in drivers 2018-05-29 13:34:18 +02:00
fprint-list-udev-rules.c fprint-list-udev-rules: Add some unsupported Validity Sensors readers to the whitelist 2017-12-12 10:51:43 +01:00
fprint.h data: Mark all the fp_dscv_print functions as deprecated 2018-05-24 13:21:40 +02:00
img.c lib: Make fp_img_dev structure opaque 2018-05-29 13:34:18 +02:00
imgdev.c lib: Replace empty fp_dbg() calls 2018-05-23 19:11:07 +02:00
meson.build lib: Add drivers_api.h file 2018-05-29 13:34:18 +02:00
pixman.c lib: use pixman for imaging utils 2013-08-19 11:13:50 +03:00
poll.c poll: Add some details about how mainloop integration works 2018-05-25 15:58:29 +02:00
sync.c lib: Use GLib and libusb directly for debug output 2018-05-23 19:13:08 +02:00