Searched refs:ndirlist (Results 1 – 2 of 2) sorted by relevance
158 size_t ndirlist = 0; in read_srclines() local370 ndirlist = ndirs; in read_srclines()371 if (ndirlist >= MAX_STACK_DIRS) in read_srclines()373 if (ndirlist > SIZE_MAX / sizeof (*dirarray)) in read_srclines()375 dirarray = (struct dirlist *) malloc (ndirlist * sizeof (*dirarray)); in read_srclines()393 for (unsigned int n = 1; n < ndirlist; n++) in read_srclines()410 for (unsigned int n = 0; n < ndirlist; n++) in read_srclines()494 if (unlikely (diridx >= ndirlist)) in read_srclines()615 if (unlikely (diridx >= ndirlist)) in read_srclines()783 if (unlikely (diridx >= ndirlist)) in read_srclines()[all …]
196 ndirlist to size_t. Add check to see ndirlist doesn't overflow.893 assign to ndirlist.