This commit is contained in:
maxfl 2012-06-18 21:30:44 +04:00
parent 78387fb391
commit 9b0ffa8315

View file

@ -260,7 +260,7 @@ static int update_values( wcstring_list_t &list,
*/
long ind = indexes[i] - 1;
const wcstring newv = values[ i ];
if( ind < 0 )
if( ind < 0 || ind>=list.size() )
{
return 1;
}