Home
last modified time | relevance | path

Searched refs:ndirlist (Results 1 – 2 of 2) sorted by relevance

/external/elfutils/libdw/
Ddwarf_getsrclines.c158 size_t ndirlist = 0; in read_srclines() local
370 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 …]
DChangeLog196 ndirlist to size_t. Add check to see ndirlist doesn't overflow.
893 assign to ndirlist.