Fixed bounds checking and enabled the function again.
Fixed bounds checking and enabled the function again.

metsma/OpenSC,metsma/OpenSC,fabled/OpenSC,Jakuje/OpenSC,Jakuje/OpenSC,hongquan/OpenSC-main,fabled/OpenSC,LudovicRousseau/OpenSC,mouse07410/OpenSC,Jakuje/OpenSC,frankmorgner/OpenSC,mouse07410/OpenSC,mouse07410/OpenSC,OpenSC/OpenSC,AktivCo/OpenSC,frankmorgner/OpenSC,dengert/OpenSC,AktivCo/OpenSC,philipWendland/OpenSC,LudovicRousseau/OpenSC,hongquan/OpenSC-main,fabled/OpenSC,OpenSC/OpenSC,hongquan/OpenSC-main,philipWendland/OpenSC,Jakuje/OpenSC,dengert/OpenSC,AktivCo/OpenSC,OpenSC/OpenSC,frankmorgner/OpenSC,fabled/OpenSC,LudovicRousseau/OpenSC,philipWendland/OpenSC,metsma/OpenSC,frankmorgner/OpenSC,dengert/OpenSC