Jump to content

IBAN: Difference between revisions

4 bytes added ,  5 years ago
m
Fixed Buffer Overflow. trans[sz+l]=0 is an out of bound access if trans is only sz+l big. Thus the +1
m (→‎{{header|Factor}}: slight simplification)
m (Fixed Buffer Overflow. trans[sz+l]=0 is an out of bound access if trans is only sz+l big. Thus the +1)
Line 534:
 
/* Allocate space for the transformed IBAN. */
trans = alloca(sz + l + 1);
trans[sz + l] = 0;
 
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.