fixed Heap-buffer-overflow READ
fixed Heap-buffer-overflow READ

7cf8087351c821aa1e617282db93ecb33d53d918 seemed to be incomplete. Change
the length of the buffer right before it's accessed.

fixes https://oss-fuzz.com/testcase-detail/5734055866531840

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