[fprint] conversin of fprint data to store in database

Daniel Drake dan at reactivated.net
Fri Jan 9 15:26:04 GMT 2009


Alexander Eichert wrote:
> When I enroll a fingerprint, the function "fp_print_data_get_data" 
> returns every time a bufferlength of 2414 Byte.
> But when I insert this converted fingerprint in the database, there will 
> only be a string with max. 9 Byte (this is calculated in the 
> verify-program).

It is not a string. You are assuming it ends at the first NULL byte - it 
does not. It ends after 2414 bytes (or whatever fp_print_data_get_data 
returns).

Daniel



More information about the fprint mailing list