Anonymous user
IBAN: Difference between revisions
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;
|