/src/plugins/contrib/wxContribItems/wxthings/src/matrix2d.cpp lines 899 and 939 Code: if ( num_points > sizeof_data - num_cols2 ) { data = (double)realloc( data, sizeof_data+1000 ); // <- may be better use data2 }
The whole code is a mess, and the first call to realloc is highly suspicious (Why 1000? What about sizeof(double)?)
I would not bother fixing this.
Log in to post a comment.
The whole code is a mess, and the first call to realloc is highly suspicious (Why 1000? What about sizeof(double)?)
I would not bother fixing this.