• 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
doc Loading commit data...
examples Loading commit data...
libfprint Loading commit data...
.gitignore Loading commit data...
.gitlab-ci.yml Loading commit data...
AUTHORS Loading commit data...
COPYING Loading commit data...
HACKING.md Loading commit data...
INSTALL Loading commit data...
NEWS Loading commit data...
README Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
meson.build Loading commit data...
meson_options.txt Loading commit data...