MFC: Include the size of the DL_serpath structures in the total size used
in the RTLD_DI_SERINFOSIZE and RTLD_DI_SERINFO requests.
This commit is contained in:
parent
51e319ef1f
commit
4d00ca61c0
@ -1968,7 +1968,7 @@ fill_search_info(const char *dir, size_t dirlen, void *param)
|
||||
|
||||
if (arg->request == RTLD_DI_SERINFOSIZE) {
|
||||
arg->serinfo->dls_cnt ++;
|
||||
arg->serinfo->dls_size += dirlen + 1;
|
||||
arg->serinfo->dls_size += sizeof(Dl_serpath) + dirlen + 1;
|
||||
} else {
|
||||
struct dl_serpath *s_entry;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user