• Bastien Nocera's avatar
    lib: Fix crash when too many minutiae were detected · 3a7b03f0
    Bastien Nocera authored
    struct xyt_struct uses a fixed-sized array to fit MAX_BOZORTH_MINUTIAE (200)
    minutiae. MAX_FILE_MINUTIAE is 1000. So if we detected more than
    MAX_BOZORTH_MINUTIAE, we would crash copying the data from the capture
    to the structure.
    
    We might want to use dynamically allocated arrays in the future (or
    bigger ones) so that we don't lose minutiae.
    
    Closes: #116
    3a7b03f0
Name
Last commit
Last update
..
drivers Loading commit data...
nbis Loading commit data...
drivers_api.h Loading commit data...
empty_file Loading commit data...
fp_internal.h Loading commit data...
fpi-assembling.c Loading commit data...
fpi-assembling.h Loading commit data...
fpi-async.c Loading commit data...
fpi-async.h Loading commit data...
fpi-core.c Loading commit data...
fpi-core.h Loading commit data...
fpi-data.c Loading commit data...
fpi-data.h Loading commit data...
fpi-dev-img.c Loading commit data...
fpi-dev-img.h Loading commit data...
fpi-dev.c Loading commit data...
fpi-dev.h Loading commit data...
fpi-img-pixman.c Loading commit data...
fpi-img.c Loading commit data...
fpi-img.h Loading commit data...
fpi-log.h Loading commit data...
fpi-poll.c Loading commit data...
fpi-poll.h Loading commit data...
fpi-ssm.c Loading commit data...
fpi-ssm.h Loading commit data...
fpi-sync.c Loading commit data...
fpi-usb.c Loading commit data...
fpi-usb.h Loading commit data...
fprint-list-supported-devices.c Loading commit data...
fprint-list-udev-rules.c Loading commit data...
fprint.h Loading commit data...
meson.build Loading commit data...