- 12 Dec, 2018 4 commits
-
-
Bastien Nocera authored
libfprint/nbis/mindtct/ridges.c:153:7: warning: 1st function call argument is an uninitialized value free(nbr_list); ^~~~~~~~~~~~~~
-
Bastien Nocera authored
libfprint/nbis/bozorth3/bozorth3.c:704:1: warning: Value stored to 'kx' is never read kx = 0; ^ ~ libfprint/nbis/bozorth3/bozorth3.c:820:4: warning: Value stored to 'l' is never read l = 1; ^ ~
-
Bastien Nocera authored
The first contour wasn't freed if we failed on the second contour. libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_ex' return(ret); ^~~ libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_ey' return(ret); ^~~ libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_x' return(ret); ^~~ libfprint/nbis/mindtct/contour.c:521:14: warning: Potential leak of memory pointed to by 'half1_y' return(ret); ^~~
-
Bastien Nocera authored
libfprint/nbis/mindtct/dft.c:212:30: warning: The left operand of '*' is a garbage value cospart += (rowsums[i] * wave->cos[i]); ~~~~~~~~~~ ^
-
- 12 Oct, 2018 3 commits
-
-
Bastien Nocera authored
cimage is leaked when mimage fails to allocate. Spotted by Seth Arnold Closes: #82
-
Bastien Nocera authored
pmap was not freed in error cases. Spotted by Seth Arnold Closes: #83
-
Bastien Nocera authored
A copy/paste error meant we were trying to free a variable we only just failed to allocate. Spotted by Seth Arnold Closes: #81
-
- 27 Aug, 2018 5 commits
-
-
Bastien Nocera authored
mindtct/loop.c: In function ‘process_loop_V2’: mindtct/loop.c:713:8: warning: variable ‘halfway’ set but not used [-Wunused-but-set-variable] int halfway; ^~~~~~~
-
Bastien Nocera authored
mindtct/morph.c: In function ‘get_south8_2’: mindtct/morph.c:173:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (row >= ih-1) /* catch case where image is undefined southwards */ ^~ mindtct/morph.c:176:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ return *(ptr+iw); ^~~~~~ mindtct/morph.c: In function ‘get_north8_2’: mindtct/morph.c:197:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (row < 1) /* catch case where image is undefined northwards */ ^~ mindtct/morph.c:200:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ return *(ptr-iw); ^~~~~~ mindtct/morph.c: In function ‘get_east8_2’: mindtct/morph.c:221:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (col >= iw-1) /* catch case where image is undefined eastwards */ ^~ mindtct/morph.c:224:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ return *(ptr+ 1); ^~~~~~ mindtct/morph.c: In function ‘get_west8_2’: mindtct/morph.c:243:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] if (col < 1) /* catch case where image is undefined westwards */ ^~ mindtct/morph.c:246:7: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ return *(ptr- 1); ^~~~~~
-
Bastien Nocera authored
mindtct/block.c: In function ‘block_offsets’: mindtct/block.c:108:18: warning: variable ‘ph’ set but not used [-Wunused-but-set-variable] int pad2, pw, ph; ^~
-
Bastien Nocera authored
This updates NBIS to its latest 5.0.0 version, dated 04/03/2015, from a 1.x version, dated 2007. Original sources are available at: https://www.nist.gov/itl/iad/image-group/products-and-services/image-group-open-source-server-nigos#Releases And full change log at: https://www.nist.gov/sites/default/files/documents/2016/12/14/changelog.txt
-
Bastien Nocera authored
NBIS is pretty complicated to update, seeing as we've made quite a few changes to get it to compile as a library. With those scripts, we can easily trim headers to remove functions we don't use, rename global variables, and do any sort of fixups that are necessary right now. In the future, removing unused NBIS functions might be as easy as updating that script, re-running it, and pushing the changes. Note that remove-function.lua is a very crude parser that only supports NBIS' style of declaration, with the return type on the same line as the function name. I wouldn't recommend trying to use it in another project. Callcatcher (https://github.com/caolanm/callcatcher) was also used to remove additional unused functions.
-
- 02 Jun, 2018 1 commit
-
-
Bastien Nocera authored
-
- 11 Mar, 2018 1 commit
-
-
nbis/mindtct/morph.c:152:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] nbis/mindtct/morph.c:176:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] nbis/mindtct/morph.c:200:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] nbis/mindtct/morph.c:222:4: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] https://bugs.freedesktop.org/show_bug.cgi?id=105429
-
- 16 Dec, 2015 1 commit
-
-
Vasily Khoruzhick authored
Remove minutiae that are located on scan perimeter
-
- 03 Dec, 2012 1 commit
-
-
If the image is too small some coordinates can become negative. Handle this to avoid memory corruption. https://bugs.freedesktop.org/show_bug.cgi?id=57730
-
- 06 Nov, 2012 2 commits
-
-
It fixes a lot of warnings about shadowing global variable https://bugs.freedesktop.org/show_bug.cgi?id=56439
- 17 Nov, 2007 1 commit
-
-
Daniel Drake authored
I want to offer the ability for an application to view a binarized version of a scanned print. This lead onto a few changes: 1. Store minutiae and binarized data inside fp_img 2. Move resize code to the capture path, it previously happened much later. 3. Add fp_img_binarize() to return a new image in binarized form. 4. Add a BINARIZED_FORM flag to prevent an image being binarized again. In future, it would be nice to be able to binarize without detecting minutiae, but this involves some work on the NBIS interaction.
-
- 30 Oct, 2007 1 commit
-
-
Daniel Drake authored
-
- 28 Oct, 2007 2 commits
-
-
Daniel Drake authored
Part 1 of many. Remove some unused/pointless code, and made some code static.
-
Daniel Drake authored
uru4000 works splendiferously (YAY!) aes4000 is going to need some work though :(
-
- 27 Oct, 2007 1 commit
-
-
Daniel Drake authored
mindtct is mostly as-is for now, with just a couple of bits ripped out.
-