MrzInfo doesn't toString serialize corretly MRZ where primary identifier...
ICAO ePassport API and application
Brought to you by:
martijno
Example MRZ
Passport line 1: P<MYSMEGAN<ELLA<RUTH<BIN<ISMAELAR<EZZAHUDDIN
Passport line 2: A001122338MYS0911267M2010153<<<<<<<<<<<<<<<8
This example trips in MRZInfo line 360, in version 0.6.3 because MRZInfo in the helper method "nameToString(int width)" in line 784 erronously adds ending double filler despite the primary identifier field uses up the entire name field.
Anonymous
That's the stacktrace I get (private code removed).
Thanks @Arnljot, will look into this.
Related discussion is here: https://sourceforge.net/p/jmrtd/discussion/580232/thread/81d068db/.
(But in any case
toString()is not supposed to throw exceptions like that.Closed by 1753.