Skip to content

Commit

Permalink
Fix a buffer overflow with MAX_STACK_ALLOC size in dgemv_t
Browse files Browse the repository at this point in the history
  • Loading branch information
jeromerobert committed Apr 15, 2015
1 parent 62231ab commit f31e27a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernel/x86_64/dgemv_t_4.c
Expand Up @@ -293,7 +293,7 @@ int CNAME(BLASLONG m, BLASLONG n, BLASLONG dummy1, FLOAT alpha, FLOAT *a, BLASLO
if ( n < 1 ) return(0);

xbuffer = buffer;
ytemp = buffer + NBMAX;
ytemp = buffer + (m < NBMAX ? m : NBMAX);

n0 = n / NBMAX;
n1 = (n % NBMAX) >> 2 ;
Expand Down

0 comments on commit f31e27a

Please sign in to comment.