Branch: Tag:

2014-12-04

2014-12-04 19:24:54 by Arne Goedeke <el@laramies.com>

type system: possible use of uninitialized value

this may have led to strings being scanned unnecessarily

6096:    struct pike_string *s = sval->u.string;    INT32 min = CAR_TO_INT( sub ), max = CDR_TO_INT( sub );    INT32 string_min, string_max; -  int checked; +  int checked = 0;       check_string_range( s, 1, &string_min, &string_max );